docs/Script API/classes/Frontend_Script_API.FAttribute.html
Attribute is an abstract concept which has two real uses - label (key - value pair) and relation (representing named relationship between source and target note)
attributeIdisInheritablenamenoteIdpositiontypevalue
dtoisAutoLinktargetNoteIdtoString
getDefinitiongetNotegetTargetNoteisDefinitionisDefinitionForupdate
new FAttribute(froca: Froca, row: FAttributeRow): FAttribute
attributeId: string
isInheritable: boolean
name: string
noteId: string
position: number
type: AttributeType
value: string
get dto(): Omit<FAttribute, "froca">
get isAutoLink(): boolean
get targetNoteId(): string
get toString(): string
getDefinition(): DefinitionObject
getNote(): FNote
getTargetNote(): Promise<null | FNote>
isDefinition(): boolean
isDefinitionFor(attr: FAttribute): boolean
update(row: FAttributeRow): void
Member Visibility
ThemeOSLightDark
Constructors constructor Properties attributeIdisInheritablenamenoteIdpositiontypevalue Accessors dtoisAutoLinktargetNoteIdtoString Methods getDefinitiongetNotegetTargetNoteisDefinitionisDefinitionForupdate