Sync
Watches for prop changes and converts them into CSS custom property declarations. Can be used to effectively synchronize audio settings with the visual interface.
DRAFT! This element is in early development and is liable to change or possibly be replaced.
- class
- Sync
- extends
- Watch
- tag
<sync-blam>
Props
| name | type | default | description |
|---|---|---|---|
| to | The elements that should receive the custom properties. These elements and their child descendants will be subject to the values (where they're used). |
||
| event | Not applicable. |
||
| from | A selector to match all the elements to watch for attribute changes. |
||
| allowed | string | A space-separated set of attribute names to watch over. If not set, all attributes are converted to CSS custom properties (when changed). |
Examples
OH FUN! There are currently no examples using Sync.