Trilium Frontend API
    Preparing search index...

    Interface FAttribute

    Attribute is an abstract concept which has two real uses - label (key - value pair) and relation (representing named relationship between source and target note)

    interface 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<FNote>;
        isDefinition(): boolean;
        isDefinitionFor(attr: FAttribute): boolean;
        update(row: FAttributeRow): void;
    }
    Index

    Properties

    attributeId: string
    isInheritable: boolean
    name: string
    noteId: string
    position: number
    value: string

    Accessors

    • Returns boolean

    • get targetNoteId(): string

      Returns string

    • get toString(): string

      Returns string

    Methods

    • Returns FNote

    • Returns Promise<FNote>

    • Returns boolean

    • Parameters

      Returns boolean