snappymail/rainloop/v/0.0.0/app/templates/Views/Components/Checkbox.html
RainLoop Team 1423b88839 Added knockoutjs components
Added material design checkbox component
Added lang changing animation
2014-10-30 02:17:40 +04:00

10 lines
No EOL
439 B
HTML

<label class="e-component e-checkbox" data-bind="click: click, css: {'inline': inline, 'disabled': disable() || !enable() }">
<i data-bind="css: value() ?
(inverted ? 'icon-checkbox-unchecked' : 'icon-checkbox-checked') :
(inverted ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked')
"></i>
<!-- ko if: labeled -->
&nbsp;
<span class="sub-label i18n" data-bind="attr: {'data-i18n-text': label}"></span>
<!-- /ko -->
</label>