mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 16:58:07 +08:00
10 lines
No EOL
537 B
HTML
10 lines
No EOL
537 B
HTML
<label class="e-component e-checkbox material-design inline" data-bind="click: click, css: { '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': label}"></span>
|
|
<!-- /ko -->
|
|
</label> |