mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Improved accessibility of material-design checkbox
This commit is contained in:
parent
e148cdea75
commit
d0376b53a8
5 changed files with 16 additions and 8 deletions
|
|
@ -1,5 +1,7 @@
|
|||
export class CheckboxComponent {
|
||||
constructor(params = {}) {
|
||||
this.name = params.name;
|
||||
|
||||
this.value = ko.isObservable(params.value) ? params.value
|
||||
: ko.observable(!!params.value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue