Skip to content

Allow changing of the checked class name #2

@Robdel12

Description

@Robdel12

Something like:

new Checkbox(myCheckbox, {
  checkedClass: 'active',
  isChecked: true
});

Which would return:

<span id="mycheckbox" class="active" tabindex="0" role="checkbox" aria-labelledby="jsze4iuu8c" aria-checked="true"></span>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions