mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
1423b88839
Added material design checkbox component Added lang changing animation
10 lines
No EOL
439 B
HTML
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 -->
|
|
|
|
<span class="sub-label i18n" data-bind="attr: {'data-i18n-text': label}"></span>
|
|
<!-- /ko -->
|
|
</label> |