Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

datepicker

v5.1.1arrow_drop_down
v5.1.1
STATUS
Passing
DOWNLOADS
38
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
SIZE
75 KB
Initial value of datepicker
1 contributor
Use datepicker in your project ?
Copied
npm i @bit/valor-software.ngx-bootstrap.datepicker
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Angular
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
chevron_left
chevron_right

Initial value of datepicker

Config object for datepicker

Indicates whether datepicker is enabled or not

Minimum date which is available for selection

Maximum date which is available for selection

Date custom classes

Disable specific dates

Emits when datepicker value has been changed

Set config for datepicker

Placement of a datepicker. Accepts: "top", "bottom", "left", “right”

Specifies events that should trigger. Supports a space separated list of event names.

Close datepicker on outside click

A selector specifying the element the datepicker should be appended to.

Returns whether or not the datepicker is currently being shown

Emits an event when the datepicker is shown

Emits an event when the datepicker is hidden

Initial value of datepicker

Config object for datepicker

Indicates whether datepicker’s content is enabled or not

Minimum date which is available for selection

Maximum date which is available for selection

Minimum view mode : day, month, or year

Disable Certain days in the week

Disable specific dates

Date custom classes

Emits when datepicker value has been changed

Opens an element’s datepicker. This is considered a “manual” triggering of the datepicker.

Closes an element’s datepicker. This is considered a “manual” triggering of the datepicker.

Toggles an element’s datepicker. This is considered a “manual” triggering of the datepicker.

Set config for datepicker

For date range picker there are BsDaterangepickerConfig which inherits all properties, except displayMonths, for range picker it default to 2

Default min date for all date/range pickers

Default max date for all date/range pickers

Default date custom classes for all date/range pickers

Disable specific dates

Makes dates from other months active

Makes dates from other months active

Add class to current day

Default mode for all date pickers

Allows to hide week numbers in datepicker

Date format for date range input field

Placement of a daterangepicker. Accepts: "top", "bottom", "left", “right”

Specifies events that should trigger. Supports a space separated list of event names.

Close daterangepicker on outside click

A selector specifying the element the daterangepicker should be appended to.

Returns whether or not the daterangepicker is currently being shown

Emits an event when the daterangepicker is shown

Emits an event when the daterangepicker is hidden

Initial value of daterangepicker

Config object for daterangepicker

Indicates whether daterangepicker’s content is enabled or not

Minimum date which is available for selection

Maximum date which is available for selection

Date custom classes

Disable specific dates

Emits when daterangepicker value has been changed

Opens an element’s datepicker. This is considered a “manual” triggering of the datepicker.

Set config for daterangepicker

Closes an element’s datepicker. This is considered a “manual” triggering of the datepicker.

Toggles an element’s datepicker. This is considered a “manual” triggering of the datepicker.

if view date is provided (bsValue|ngModel) it should be shown if view date is not provider: if minDate>currentDate (default view value), show minDate if maxDate<currentDate(default view value) show maxDate