0.1.0 • Published 4 months ago

ember-weekday-selector v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

ember-weekday-selector

The ember-weekday-selector is an Ember.js addon designed to provide a user interface component for selecting weekdays. It is compatible with Ember.js v6.1 or above, Ember CLI v6.1 or above, and Node.js v22 or above.

Key Features:

  • Weekday Selection: Allows users to select one or more weekdays.
  • Customizable: Can be customized to fit the design and functionality requirements of your application.
  • Easy Installation: Can be easily installed using the Ember CLI.

Installation

ember install ember-weekday-selector

Usage

<WeekdaySelector />

Options

OptionTypeDefaultInfo
startOfWeekString'monday'First SVG element of the week Monday
weekObject{ sunday: false, monday: false, tuesday: false, wednesday: false, thursday: false, friday: false, saturday: false }
readOnlyBooleanfalseWhether the componect can be edited or not
onClickFunctionNOOPCalled when the user selects a weekday. This is still invoked when readOnly is set to true.
svgWidthNumber26Width of the SVG element
svgHeightNumber26Height of the SVG element
viewBoxString'0 0 26 26'ViewBox of the SVG element

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.