Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (32 loc) · 2.67 KB

cp.apple.finalcutpro.timeline.VideoRole.md

File metadata and controls

43 lines (32 loc) · 2.67 KB

docs » cp.apple.finalcutpro.timeline.VideoRole


Extends Role

A Role representing Video clips.

API Overview

  • Functions - API calls offered directly by the extension
  • matches
  • Constructors - API calls which return an object, typically one that offers API methods
  • VideoRole
  • Fields - Variables which can only be accessed from an object returned by a constructor
  • subrolesExpanded

API Documentation

Functions

Signature cp.apple.finalcutpro.timeline.VideoRole.matches(element) -> boolean
Type Function
Description Checks if the element is a "Video" Role.

Constructors

Signature cp.apple.finalcutpro.timeline.VideoRole(parent, uiFinder)
Type Constructor
Description Creates a new instance with the specified parent and uiFinder.
Parameters
  • parent - the parent Element.
  • uiFinder - a function or cp.prop containing the axuielement
Returns
  • The new Row.

Fields

Signature cp.apple.finalcutpro.timeline.VideoRole.subrolesExpanded <cp.ui.Button>
Type Field
Description A Button that toggles whether the sub-captions are visible.