Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ExposedPageMenu

import type { ExposedPageMenu } from "https://raw.githubusercontent.com/scrapbox-jp/types/main/scrapbox.ts";

window.scrapboxに露出しているPageMenuの型

interface ExposedPageMenu {
(menuName?: string): PageMenu;
addItem: (item: Item) => void;
addMenu: (init: AddMenuInit) => void;
addSeparater: () => void;
removeAllItems: () => void;
}

§Call Signatures

§
(menuName?: string): PageMenu
[src]

get a particular Page Menu

§Properties

§
addItem: (item: Item) => void
[src]

Add a menu item to the default Page Menu button

§
addMenu: (init: AddMenuInit) => void
[src]

Add a new Page Menu button

§
addSeparater: () => void
[src]

Add a separator to the default Page Menu button

§
removeAllItems: () => void
[src]

remove all custom items from the default Page Menu button