diff --git a/docs/directives/datepicker.md b/docs/directives/datepicker.md index 362ae0f..1ed912f 100644 --- a/docs/directives/datepicker.md +++ b/docs/directives/datepicker.md @@ -15,6 +15,7 @@ The id of the text input field **mac-datepicker-model** Type: `String` The model to store the selected date +Clearing model by setting it to null or '' will clear the input field **mac-datepicker-on-select** Type: `Function` diff --git a/docs/directives/time.md b/docs/directives/time.md index 5899a69..7dd4051 100644 --- a/docs/directives/time.md +++ b/docs/directives/time.md @@ -6,7 +6,8 @@ A directive for creating a time input field ### Parameters **mac-time-model** Type: `String` -Model to bind input to +Assignable angular expression to data-bind to +Clearing model by setting it to null or '' will set model back to default value **mac-time-placeholder** Type: `String` diff --git a/docs/html/directives/datepicker.html b/docs/html/directives/datepicker.html index 0d67573..f4a2a30 100644 --- a/docs/html/directives/datepicker.html +++ b/docs/html/directives/datepicker.html @@ -7,7 +7,7 @@

Dependencies

Parameters

mac-datepicker-id
Type: String
The id of the text input field

-

mac-datepicker-model
Type: String
The model to store the selected date

+

mac-datepicker-model
Type: String
The model to store the selected date
Clearing model by setting it to null or '' will clear the input field

mac-datepicker-on-select
Type: Function
Function called before setting the value to the model
- date - {String} Selected date from the datepicker
- instance - {Object} Datepicker instance

mac-datepicker-on-close
Type: String
Function called before closing datepicker
- date - {String} Selected date from the datepicker
- instance - {Object} Datepicker instance

mac-datepicker-append-text
Type: String
The text to display after each date field

diff --git a/docs/html/directives/time.html b/docs/html/directives/time.html index bebf62a..87f444a 100644 --- a/docs/html/directives/time.html +++ b/docs/html/directives/time.html @@ -1,7 +1,7 @@

Time

A directive for creating a time input field

Parameters

-

mac-time-model
Type: String
Model to bind input to

+

mac-time-model
Type: String
Assignable angular expression to data-bind to
Clearing model by setting it to null or '' will set model back to default value

mac-time-placeholder
Type: String
Placeholder text of the text input (default --:--)

mac-time-disabled
Type: String
Enable or disable time input

mac-time-default
Type: String
If model is undefined, use this as the starting value (default 12:00 PM)