0.0.1 • Published 6 months ago

month-select v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

Month-select

What is it?

Month-Select is a universal month type input, compatible with all browsers.

How does it work?

The component simply return a month date in the following format: YYYY-mm using an eventEmitter

How to get the value from the month select

parent-component.html

<lib-month-select (selectValueEvent)="getMonth($event)"></lib-month-select>

parent-component.ts

 getMonth(month: string) {
    console.log(month)
  }

Output

 "2023-10"
0.0.1

6 months ago