Skip to content

OSD

Default options for reference:

ts
import { opt, mkOptions } from "~lib/option"

export default mkOptions("osd", {
    vertical: opt(true),
    timeout: opt(2000),
    margin: opt(0),
    slide: opt(true),
    anchors: opt<Array<"top" | "bottom" | "left" | "right">>(["right"]),
})