SyncInputsController
Purpose
Inspired by Vue's v-model
and v-bind
, you can use this controller to make parts of the DOM reactive based on inputs on the page or sync the value of inputs with other inputs.
Actions
Action | Purpose |
---|---|
- | - |
Targets
Target | Purpose | Default |
---|---|---|
- | - | - |
Classes
Class | Purpose | Default |
---|---|---|
- | - | - |
Values
Value | Type | Description | Default |
---|---|---|---|
key | String | A unique identifier. All controllers on the page using the same value will be synced. | - |
Events
Event | When | Dispatched on | event.detail |
---|---|---|---|
- | - | - | - |
Side Effects
None