Angular directive
sra-time source template
This widget displays the time.
Example:
<sra-time></sra-time>
Dependencies:
Name | Type | Description |
---|---|---|
data-sra-args-format | string | A string to use as the date format. Defaults to "mediumTime" as defined by AngularJS.date filter at {@link https://docs.angularjs.org/api/ng/filter/date}. |
data-sra-args-timezone | string | The time zone to display the time in. Defaults to the browser's time zone. |
data-sra-args-interval | integer | The interval, in milliseconds, that this widget will update from the server. Default is 500. |