TimelineKeyframe

TimelineKeyframe

Creates timeline keyframes.

Constructor

new TimelineKeyframe($parameters)

Description:
  • Creates a new timeline keyframe.
Source:
Examples
// minimal
const keyframe = new TimelineKeyframe({$onEnter, $timecode});
// full
const keyframe = new TimelineKeyframe({$name, $onEnter, $timecode});
Parameters:
Name Type Attributes Description
$parameters Object The given parameters.
$parameters.$name string <optional>
The name.
$parameters.$onEnter typehandlerenter The keyframe entering handler.
$parameters.$timecode number The timecode.

Members

name :string

Description:
  • Gets the name.
Source:
Gets the name.
Type:
  • string

onEnter :typehandlerenter

Description:
  • Gets the keyframe entering handler.
Source:
Gets the keyframe entering handler.
Type:
  • typehandlerenter

timecode :number

Description:
  • Gets the timecode.
Source:
Gets the timecode.
Type:
  • number

Type Definitions

(protected) typehandlerenter($timeline) → {void}

Source:
Parameters:
Name Type Description
$timeline Timeline The reference timeline.
Returns:
Type
void