MCPcopy Create free account

hub / github.com/cjquines/qboard / functions

Functions60 in github.com/cjquines/qboard

↓ 36 callersFunctionfasIcon
(iconName: string, style?: CSSProperties)
src/components/Icon.tsx:6
↓ 8 callersFunctionAssertType
( x: U, )
src/types/assert.ts:4
↓ 4 callersFunctionKeys
(...keys: string[])
src/components/Bindings.tsx:33
↓ 4 callersMethodisBrush
()
src/lib/tools.ts:72
↓ 3 callersFunctionactionName
(action: Action)
src/lib/action.ts:85
↓ 3 callersFunctiondefaults
(value: T | undefined, getDefaultValue: () => T)
src/lib/files.ts:8
↓ 3 callersMethodisDrawing
()
src/lib/tools.ts:64
↓ 3 callersFunctionisFabricCollection
( obj: fabric.FabricObject, )
src/types/fabric.ts:31
↓ 2 callersFunctionKey
(key: string)
src/components/Bindings.tsx:28
↓ 2 callersFunctionTeXToSVG
(str: string)
src/lib/latex.ts:59
↓ 2 callersFunctiongetErrorFromSVG
* If MathJax refused to properly render some TeX, * and told us with a data tag in the emitted SVG, * we return important fields from this data tag.
src/lib/latex.ts:99
↓ 2 callersFunctionisImageFile
(file: File)
src/lib/files.ts:60
↓ 2 callersFunctionisJSONFile
(file: File)
src/lib/files.ts:57
↓ 2 callersFunctionmodify
(key: string)
src/components/Bindings.tsx:22
↓ 2 callersFunctionnavigate
()
src/components/Pagination.tsx:23
↓ 2 callersMethodread
* Get the `pagesJSON` data from a qboard file * @param json A JSON-serialized qboard file * @throws {InvalidQboardFileException} if {@param json
src/lib/files.ts:129
↓ 2 callersFunctiontimeString
()
src/lib/pages.ts:22
↓ 1 callersFunctionTeXToDataURL
( tex: string, )
src/lib/latex.ts:124
↓ 1 callersFunctioninstantiateTools
( baseCanvas: Page, history: HistoryHandler, clipboard: ClipboardHandler, )
src/lib/tools.ts:359
↓ 1 callersFunctionisValidQboardFile
(object: unknown)
src/lib/files.ts:85
↓ 1 callersMethodreadParsed
* Get the `pagesJSON` data from a parsed qboard file * @param object A parsed serialized qboard file * @throws {InvalidQboardFileException} if {
src/lib/files.ts:139
↓ 1 callersMethodrequiresBase
()
src/lib/tools.ts:68
FunctionBindingModal
(props: { letter: string; action: Action | null; close: () => void; callback: (action: Action | null)
src/components/BindingModal.tsx:17
FunctionBindings
(props: { bind: (key: string, action: Action) => void; unbind: (key: string) => void; keyMap: KeyMap; })
src/components/Bindings.tsx:13
FunctionButtonRow
(props: { actions: Action[]; callback: (action: Action) => void; className?: (action: Action, i: number)
src/components/ButtonRow.tsx:7
FunctionContextMenu
(props: { currentStyle: Style; doAction: (action: Action) => void; })
src/components/ContextMenu.tsx:8
FunctionDashStyle
({ dashStyle, callback, inContext = false, }: StyleOptions & { dashStyle: Dash })
src/components/StyleMenu.tsx:12
FunctionFillStyle
({ fillStyle, callback, inContext = false, }: StyleOptions & { fillStyle: Fill; })
src/components/StyleMenu.tsx:73
FunctionHelpModal
(props: { bind: (key: string, action: Action) => void; unbind: (key: string) => void; reset: () => void;
src/components/HelpModal.tsx:11
FunctionKey
(props: { letter: string; action?: Action; onclick: (key: string, event: React.MouseEvent<HTMLButtonElem
src/components/Keyboard.tsx:64
FunctionKeyboard
({ rows, onclick, activeModifiers: modifiers, setActiveModifiers, ...attrs }: { /** A double array
src/components/Keyboard.tsx:115
FunctionModifierKey
(props: { letter: string; set: Set<string>; replaceSet: ( value: ((prevState: Set<string>) => Set<st
src/components/Keyboard.tsx:32
FunctionOverlay
({ qboard }: { qboard: QBoard })
src/components/Overlay.tsx:22
FunctionOverlayButton
(props: { action: Action; callback: (action: Action) => void; className?: string; })
src/components/OverlayButton.tsx:7
FunctionPagination
(props: { loadPage: (index: number) => Promise<void | number>; currentPage: number; totalPages: number;
src/components/Pagination.tsx:8
FunctionStrokeStyle
({ strokeStyle, callback, inContext = false, }: StyleOptions & { strokeStyle: string; })
src/components/StyleMenu.tsx:34
FunctionStyleMenu
(props: { currentStyle: Style; doAction: (action: Action) => void; inContext?: boolean; })
src/components/StyleMenu.tsx:95
FunctionStylebar
(props: { currentStyle: Style; doAction: (action: Action) => void; visibility: Visibility; isMobile: b
src/components/Stylebar.tsx:11
FunctionToolbar
(props: { currentTool: Tool; tools: Tools; doAction: (action: Action) => void; visibility: Visibility;
src/components/Toolbar.tsx:7
FunctionUnbindableKey
({ label = "", letter, width, }: { letter: string; label?: string; width?: string; })
src/components/Keyboard.tsx:13
FunctionUndoRedo
(props: { canUndo: boolean; canRedo: boolean; doAction: (action: Action) => void; visibility: Visibili
src/components/UndoRedo.tsx:6
FunctionVirtualFileInput
({ acceptFiles, captureRef, ...attrs }: VirtualFileInputProps & React.DetailedHTMLProps< React.Inp
src/components/VirtualFileInput.tsx:24
Methodconstructor
( public canvas: Page, public pages: Pages, public updateState: () => void, )
src/lib/history.ts:28
Methodconstructor
* @param errorText Error text provided by MathJax * @param sourceTeX * @param node The error node in the parsed SVG
src/lib/latex.ts:77
Methodconstructor
( public canvasElement: HTMLCanvasElement & HTMLChildElement, public baseCanvasElement: HTMLCanvasElem
src/lib/qboard.ts:81
Methodconstructor
( protected baseCanvas: Page, protected history: HistoryHandler, protected clipboard: ClipboardHan
src/lib/tools.ts:90
Methodconstructor
( public canvas: Page, public pages: Pages, public files: FileHandler, public history: History
src/lib/clipboard.ts:14
Methodconstructor
(message = "Invalid qboard file")
src/lib/files.ts:116
Methodconstructor
(pagesJSON: PageJSON[])
src/lib/files.ts:157
Methodconstructor
( public pages: Pages, private history: HistoryHandler, )
src/lib/files.ts:204
Methodconstructor
( public canvas: Page, public canvasWidth: number, public canvasHeight: number, public updateS
src/lib/pages.ts:33
Methodconstructor
( public doAction: (action: Action) => void, public setStrict: (strict: boolean) => void, public u
src/lib/keyboard.ts:55
Methodconstructor
( public currentStyle: Style, public drawerOptions: Partial<fabric.FabricObjectProps>, public free
src/lib/styles.ts:36
Methodconstructor
( public switchTool: (tool: Tool) => void, tools: Tools, public currentStyle: Style, public pa
src/lib/action.ts:94
FunctionisFabricTeXImage
(image: fabric.Image)
src/types/fabric.ts:43
FunctionkeyHandler
(key: string)
src/components/Bindings.tsx:58
FunctiononChange
(e)
src/components/Pagination.tsx:40
FunctiononSubmit
(e)
src/components/Pagination.tsx:35
Methodrevoke
()
src/lib/files.ts:179
FunctiontoggleOpen
()
src/components/Overlay.tsx:45