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
11 lines
No EOL
560 B
HTML
11 lines
No EOL
560 B
HTML
<label class="e-component e-checkbox material-design" data-bind="click: click, css: {'inline': inline, 'disabled': disable() || !enable() }">
|
|
<div class="sub-checkbox-container">
|
|
<div class="sub-checkbox" data-bind="css: {'checked': (value() && !inverted) || (!value() && inverted),
|
|
'unchecked': (!value() && !inverted) || (value() && inverted),
|
|
'box': animationBox, 'checkmark': animationCheckmark}"></div>
|
|
</div>
|
|
<!-- ko if: labeled -->
|
|
|
|
<span class="sub-label i18n" data-bind="attr: {'data-i18n-text': label}"></span>
|
|
<!-- /ko -->
|
|
</label> |