Inert
af-inert disables interaction within a subtree (it sets pointer-events: none and user-select: none).
Quick reference
Section titled “Quick reference”| Class | Styles |
|---|---|
af-inert | pointer-events: none; user-select: none |
Examples
Section titled “Examples”Disable a subtree
<div class="af-inert">
<button class="af-btn">
Can't be clicked
</button>
</div>