typograph-editor-documentation
    Preparing search index...

    Interface presence_document

    What this needs from the canvas document.

    interface presence_document {
        get_selected_uuids(): string[];
        moving_boxes?(): MovingBox[];
        preview_properties?(): PropertyPreview[];
        set_remote_presence(others: RemotePresence[]): void;
        spread_point_at(client_x: number, client_y: number): SpreadPoint;
    }
    Index
    • Where the selected elements are now, sent while this window drags them (canvas TYP-919).

      Returns MovingBox[]

    • The colours, tints and opacities the open edit has changed so far, sent while the button is held (canvas TYP-1599). Canvas caps it: past 50 elements it answers [], and the change reaches the others when it lands.

      Returns PropertyPreview[]

    • Parameters

      • others: RemotePresence[]

      Returns void

    • Parameters

      • client_x: number
      • client_y: number

      Returns SpreadPoint