core-clock-digitalClock - DigitalCoreDigital Clockfa fa-clock-o\Xibo\Widget\Compatibility\ClockWidgetCompatibilityclock-digitalClockclock211html10clock-digital-thumb300150Enter a format for the Digital Clock e.g. [HH:mm] or [DD/MM/YYYY]. See the manual for more information.Enter text in the box below.[HH:mm:ss]
]]>Date FormatsChoose from a preset date formatLanguageSelect the language you would like to use.OffsetThe offset in minutes that should be applied to the current time.';
});
// Replace content with the parsed text
$(target).find('#content').html(properties.format);
// Create updateClock method and save to the interactive controller
xiboIC.set(
id,
'updateClock',
function updateClock() {
var offset = properties.offset || 0;
$(".clock").each(function() {
$(this).html(moment().format($(this).attr("format")));
$(this).html(moment().add(offset, "m").format($(this).attr("format")));
});
}
);
]]>