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;
}§Properties
§
addMenu: (init: AddMenuInit) => void
[src]Add a new Page Menu button