@twick/timeline / Exports / ElementVisitor
Interface: ElementVisitor<T>
Type parameters
| Name |
|---|
T |
Implemented by
ElementAdderElementClonerElementRemoverElementSerializerElementSplitterElementUpdaterElementValidator
Table of contents
Methods
- visitAudioElement
- visitCaptionElement
- visitCircleElement
- visitIconElement
- visitImageElement
- visitRectElement
- visitTextElement
- visitVideoElement
Methods
visitAudioElement
▸ visitAudioElement(element): T
Parameters
| Name | Type |
|---|---|
element | AudioElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:12
visitCaptionElement
▸ visitCaptionElement(element): T
Parameters
| Name | Type |
|---|---|
element | CaptionElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:15
visitCircleElement
▸ visitCircleElement(element): T
Parameters
| Name | Type |
|---|---|
element | CircleElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:17
visitIconElement
▸ visitIconElement(element): T
Parameters
| Name | Type |
|---|---|
element | IconElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:16
visitImageElement
▸ visitImageElement(element): T
Parameters
| Name | Type |
|---|---|
element | ImageElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:13
visitRectElement
▸ visitRectElement(element): T
Parameters
| Name | Type |
|---|---|
element | RectElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:18
visitTextElement
▸ visitTextElement(element): T
Parameters
| Name | Type |
|---|---|
element | TextElement |
Returns
T
Defined in
packages/timeline/src/core/visitor/element-visitor.ts:14
visitVideoElement
▸ visitVideoElement(element): T
Parameters
| Name | Type |
|---|---|
element | VideoElement |
Returns
T