
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@dreamworld/dw-date-range-select
Advanced tools
Lit Web Component for Material Design Date Range Select
<dw-date-range-select> Date range input control is used to input a custom duration.
dw-select, so It overrides all the beahviors of dw-select input control.// TODO
| Name | Returns | Description |
|---|---|---|
all() | undefined | To get all time duration |
thisMonth() | (Object): {start, end} | An object whose start & end is the current month’s first & last date. |
lastMonth() | (Object): {start, end} | An object whose start & end is the last month’s first & last date. |
| Name | Arguments | Returns | Description |
|---|---|---|---|
lastNMonths(n) | (Number): number of last months | (Function): which acts as a valueProvider | Factory Function which returns last N months start and end date |
thisQuarter(fyStartsFrom) | (String): finacial year start from date. in the format dd/mm. | (Function): which acts as a valueProvider | Factory Function which returns this quater start and end date |
lastQuarter(fyStartsFrom) | (String): finacial year start from date. in the format dd/mm. | (Function): which acts as a valueProvider | Factory Function which returns last quater start and end date |
thisFinancialYear(startsFrom) | (String): finacial year start from date. in the format dd/mm. | (Function): which acts as a valueProvider | Factory Function which returns current finacial year start and end date |
lastFinancialYear(startsFrom) | (String): finacial year start from date. in the format dd/mm. | (Function): which acts as a valueProvider | Factory Function which returns last finacial year start and end date |
Inherited from dw-select
| Name | Type |
|---|---|
outlined | false |
name | string |
value | object|object[] |
originalValue | object |
label | string |
placeholder | string |
helper | string |
readOnly | boolean |
required | boolean |
errorMessage | string |
requiredMessage | string |
validity | ValidityState (readonly) |
disabled | boolean |
items | DateRangeItem[] |
dialogWidth | number |
| Key | Type | Description |
|---|---|---|
label | string | Text to be shown in the list item and for the selected value. |
valueProvider | function | Returns: object which contains start and end date |
FAQs
Lit Web Component for Material Design Date Range Select
We found that @dreamworld/dw-date-range-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.