@vaadin/disabled-state-mixin

This package provides DisabledStateMixin that does the following:

Usage no npm install needed!

<script type="module">
  import vaadinDisabledStateMixin from 'https://cdn.skypack.dev/@vaadin/disabled-state-mixin';
</script>

README

@vaadin/disabled-state-mixin

This package provides DisabledStateMixin that does the following:

  1. Set disabled property based on the disabled attribute presence

  2. Toggle aria-disabled attribute when disabled property changes