ProjectItem
Since: 25.6
Properties
Name
Type
Access
Min Version
Description
type
number
R
25.6
Get the type of the Project Item.
name
string
R
25.6
The name of this project item.
Static Methods
cast
Cast FolderItem or ClipProjectItem in to ProjectItem
Since: 25.6
Returns: ProjectItem
Parameters
Name
Type
Description
Instance Methods
createSetColorLabelAction
Create an action for set color label to projectItem by index
Since: 25.6
Returns: Action
Parameters
Name
Type
Description
inColorLabelIndex
number
-
createSetNameAction
Returns action that renames projectItem
Since: 25.6
Returns: Action
Parameters
Name
Type
Description
inName
string
-
getColorLabelIndex
Get color label index of projectItem
Since: 25.6
Returns: Promise<number>
getId
Get id of projectItem
Since: 25.6
Returns: string
getParentBin
Get parent FolderItem of projectItem
Since: 25.6
Returns: FolderItem
getProject
Get the parent Project of this projectItem.
Since: 25.6
Returns: Promise<Project>