You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,10 @@ <h3>
85
85
86
86
<divclass="bs-docs-example">
87
87
<p>
88
-
This markup <codeng-non-bindable=""><timer interval="1000" language="fr" >{{fullUnit}}</code> will run the clock timer ticking every second
88
+
This markup <codeng-non-bindable=""><timer interval="1000" language="fr" >{{yearUnit}}</code> will run the clock timer ticking every second.
89
+
</p>
90
+
<p>
91
+
You can use a controller variable as the language attribut or a string. If a scope variable is used, the value will be watched, <strong>that is to say if your app language changes, the change will also affects the timer.</strong>
89
92
</p>
90
93
<p>
91
94
Based on <ahref="https://github.com/EvanHahn/HumanizeDuration.js">HumanizeDuration</a> with more than 16 languages available.
@@ -108,12 +111,12 @@ <h4>Second max unit time: <timer interval="1000" language="fr">{{secondUnit}}</t
0 commit comments