Skip to content
On this page

VextNoteConfiguration

Props

Prop nameDescriptionTypeValuesDefault
modelValueboolean-false
widthThe width of this component.number-280
floatingWhether this component should take up space or float.boolean-true
iconsObject of icons to use for tools/modes etc.object-{
open: "mdi-chevron-double-left",
closed: "mdi-chevron-double-right",
layer: "mdi-layers",
brush: "mdi-draw",
shape: "mdi-shape",
connect: "mdi-connection",
edit: "mdi-cursor-move",
whiteboard: "mdi-human-male-board",
settings: "mdi-cog",
}
selectColorHow to color the icons in the small nav bar when they are selected.string-"black"
hotkeysWhether to use keyboard shortcuts (hotkeys) for mode switching.boolean-false
hotkeyMapHotkey map to use when using hotkeys for mode switching.
By default, these are the number keys from 1 to 7.
The object should have the key string as returned by the keydown event "key" property as key and the mode id
as value.
object-{
"1": "layer",
"2": "brush",
"3": "shape",
"4": "connect",
"5": "edit",
"6": "whiteboard",
"7": "settings",
}
tooltipDelayThe delay with which to open tooltips on hover (default 500).number|string-500
autoModeSwitchWhether to switch between brush and other modes automatically, depending
on whether the pen is used to interact (or the mouse/touch).
boolean-false

Events

Event namePropertiesDescription
update:modelValueCalled when the model value is updated.