Media

TwebBlockMediaControl

{ label, help, name*, onSelect, attributes*, setAttributes* }
/**
 * @param {string} [label] - Component label.
 * @param {string} [help] - Component description.
 * @param {string} name - Attribute name.
 * @param {function} [onSelect] - Callback called when a media item is selected.
 * @param {object} attributes - Object containing block attributes.
 * @param {function} setAttributes - Function to set new block attribute values.
 */

TwebBlockMediaControl.Render

{ mediaId*, isBackground, className }

Last updated

Was this helpful?