https://github.com/mirzailhami/mat-datepicker-a11y
Angular Material Datepicker Accessibility Customization
https://github.com/mirzailhami/mat-datepicker-a11y
a11y accessibility angular datepicker material
Last synced: 2 months ago
JSON representation
Angular Material Datepicker Accessibility Customization
- Host: GitHub
- URL: https://github.com/mirzailhami/mat-datepicker-a11y
- Owner: mirzailhami
- Created: 2021-06-24T01:18:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T20:46:14.000Z (almost 5 years ago)
- Last Synced: 2024-01-31T17:03:50.052Z (over 2 years ago)
- Topics: a11y, accessibility, angular, datepicker, material
- Language: TypeScript
- Homepage:
- Size: 624 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Datepicker
Angular Material datepicker a11y customization.
## Requirement
- Node.js v10.15.0
- Angular v10.2.3
## Installation
Run `npm install` to install all dependencies.
## Use Datepicker component
import the Datepicker Component to the module
```
import { DatepickerComponent } from './components/datepicker/datepicker.component';
```
To use the Datepicker Component
```
```
```
@Input(): type: 'moment' | 'date' - to configure the output type of the selected date. default is 'moment'
@Output(): dateSelected($event) - method to get the selected date
```
---
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Running ESLint
Run `ng lint` to execute ESLint.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).