Search Docs
Loading...
Skip to content

Type Alias: TimelineSetHeightAction

type TimelineSetHeightAction = (settings) => void;

Action function for setting the video timeline’s height behaviour.

Parameters#

Parameter Type Description
settings TimelineHeightSettings The height settings to apply.

Returns#

void

Example#

// Fixed 320px timeline that does not grow with content.
cesdk.actions.run('timeline.setHeight', { height: 320 });
// Content-hugging behaviour, but never taller than 400px.
cesdk.actions.run('timeline.setHeight', { height: 'auto', maxHeight: 400 });