Tag
Add a tag to the current note.
Signature
TypeScript
function tag(
label: string,
props?: {
[fieldName: string]: any;
}
): void;
Parameters
label
: The label of the tag being added to the note.props
: Optional props to initialize the tag. Refer toupdateNodeTag
.
Returns
- Void.
Examples
TypeScript
zeta.v1.api.tag("Task");