skip to content

Radios

Takes a fieldset of radios to offer a multiple choice of target prop/param values.

class
Radios
extends
Handle
tag
<radios-blam>
see

Props

name type default description
event string change

Do not supply an event prop for this element. It must use a child fieldset’s change event.

value string null

Not applicable. The value is taken and parsed from the checked radio button.

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 defaultFrom function’s return value.

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 defaultTo function’s return value.

prop string null

The property (which may be a method or map to an audioParam) to affect at the event.

bypass boolean false

Whether to stop responding to events as they happen.

chance boolean 1

The probability that the event will be responded to. From 0 to 1.

Examples

Examples that use the Radios element: