@schemater/datetime
v2.1.0
Published
Datetime field for `@schemater/core` dependent on [ng-pick-datetime](https://daniel-projects.firebaseapp.com/owlng/date-time-picker)
Readme
Datetime field for @schemater/core dependent on ng-pick-datetime
Usage
- Import
SchematerDatetimeModuleto Your project - Add
InputColorComponentinto YourSchematerCore.forRootconfiguration toinputComponents. You can pick name as You want. Example:{name: 'color', component: InputColorComponent} - You can add styles
@import '@schemater/bootstrap-color/colorpicker.scss
Available options (in field.config)
getPresetColorsFromBootstrapVariables: boolean- tries to fetch colors from bootstrap variables.presetColorsare ignoredpresetColors: string[]- array of preset colors. Example:['#fff', '#000', '#2889e9', '#e920e9', '#fff500', 'rgb(236,64,64)']label: string- text to print inside colorpicker buttondefaultColor: string- color (in hex) that will be applied if is null or undefined at init
