Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ember-date-components
Advanced tools
Readme
An Ember add-on which provides pure Ember-based date picker components.
ember install ember-moment
- This is a dependency that you will need to install manuallyember install ember-date-components
<DatePicker @value={{this.date}} @onChange={{this.updateDate}} />
<DatePicker @range={{true}} @value={{this.dateRange}} @onChange={{this.updateDateRange}} />
<TimePicker @value={{this.time}} @onChange={{this.updateTime}} />
<DateTimePicker @value={{this.date}} @onChange={{this.updateDateTime}} />
The date picker can also display custom options, e.g. 'Last 7 days'.
It also provides test helpers to easily interact with the date picker in integration & acceptance tests:
import { selectDate, selectDateRange, getSelectedDate, selectDateTime } from 'ember-date-components/test-support/helpers/date-picker';
import { selectTime, getSelectedTime } from 'ember-date-components/test-support/helpers/time-picker';
await selectDate('.my-datepicker', moment());
let momentInstance = await getSelectedDate('.my-datepicker');
await selectTime('.my-timepicker', moment());
let momentInstance = await getSelectedTime('.my-timepicker');
await selectDateTime('.my-date-time-picker', moment());
await selectDateRange('.my-datepicker', dateFrom, dateTo);
For more detailed instructions and examples, please visit the documentation.
FAQs
An Ember add-on which provides pure Ember-based date picker components.
The npm package ember-date-components receives a total of 420 weekly downloads. As such, ember-date-components popularity was classified as not popular.
We found that ember-date-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.