ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

Example of Using Ng2DatetimePickerComponent without usage of Ng2DatetimePickerDirective #119

Closed allenhwkim closed 7 years ago

allenhwkim commented 7 years ago

This datetime picker is designed to be used without use of ng2-datetime-picker as a directive.

In summary, currently many example is provided with the usage like the following.

<input ng2-datetime-picker ....  >

It's also possible to use ng2-datetime-picker as a component like the following

<ng2-datetime-picker .....></ng2-datetime-picker>

Please create an example for the second case.