typograph-editor-documentation
    Preparing search index...

    Interface viewer_options

    interface viewer_options {
        container?: string | HTMLElement;
        page_bar?: page_bar_options;
        show_rulers?: boolean;
    }
    Index
    container?: string | HTMLElement

    Where the viewer is built. Defaults to document.body.

    page_bar?: page_bar_options

    Page bar controls. Omitted keys keep canvas's own defaults.

    show_rulers?: boolean

    Show the rulers. Default true — they are part of what canvas's viewer mode has always shown, and the implementer decides whether their product wants them.