Blam
Handles events to affect a prop, set an attribute, execute a method, or append a CSS custom property. Which of these three are applicable is automatically determined from the prop name supplied.
- class
- Blam
- extends
- Set
- tag
<blam-blam>
Props
| name | type | default | description |
|---|---|---|---|
| ramp | number | In beats. Where the |
|
| revert | boolean | false | When |
| prop | string | null | Can be the name of a property (which may map to an |
| value | string | null | Set-derived elements support special |
| once | boolean | false | Whether to only handle the event one time. Interesting, compositionally, when paired with a low |
| robin | boolean | false | Only applies when using |
| mode | string | “events” | By default, Set just listens for events. Use |
| for | string | “blam any” | By default, ListenWatch-based elements listen for |
| from | string | A CSS selector representing all elements from which events will be listened to. If not set, the node array defaults to the element’s |
|
| to | string | A CSS selector representing all elements to affect in response to the event. If not set, the node array defaults to the element’s |
|
| bypass | boolean | false | Whether to stop responding to events as they happen. |
| chance | boolean | 1 | The probability that the |
Examples
Examples that use the Blam element:
- I wear many hats
- Can one kick it?
- Snare makes the groove
- Getting ghosted
- Saturation shenanigans
- Tape emulation
- Radioactive orb
- Typerblam
- Breathe and stop
- Slip and slide
- Give the drummer some
- A motif with some mojo
- Automayhem
- Make It Fed
- Baby’s first blam
- A light lo-fi listen with LFOs
- Hopeless Horror hole
- Ch-ch-ch-chocolate
- Dub Club