Main Content

defaultTransitions

Return default transitions in object at top level of containment

Syntax

defaultTransitions = thisObject.defaultTransitions

Description

The defaultTransitions method returns the default transitions in this object at the top level of containment.

Arguments

thisObject

The object for which to return default transitions. Can be an object of type Chart, State, Box, or Function.

Returns

defaultTransitions

Array of default transitions in this object at the top level of containment.

Examples

If state A contains state A1, and state A1 contains state A11, and states A1 and A11 have default transitions attached to them, the defaultTransitions method of state A returns the default transition attached to state A1.

Introduced before R2006a