|
|
@@ -110,6 +110,13 @@ var ChronoComponent = Model.extend({
|
|
|
// -----------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
+ // Returns a string unit, like 'second' or 'minute' that defined how often the current time indicator
|
|
|
+ // should be refreshed. If something falsy is returned, no time indicator is rendered at all.
|
|
|
+ getNowIndicatorUnit: function() {
|
|
|
+ // subclasses should implement
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
// Renders a current time indicator at the given datetime
|
|
|
renderNowIndicator: function(date) {
|
|
|
// subclasses should implement
|