Methods

Date Range for WireBootstrap extends the wire.ui.component class. As such, it inherits all its base methods.

The following methods are added to Date Range for WireBootstrap.

The following will set the val variable to a single date that has been selected in the component based on the singleDatePicker setting.

const range = new wire.daterangepicker().render('#range', {
    ...
    daterangepicker: { singleDatePicker: true }
});

const val = range.val();

Last updated