charton API / @chart-on/ui / index / createDraftEditor
Function: createDraftEditor()
createDraftEditor(
chart,options?):DraftEditorHandle
Defined in: ui/src/draft-editor.ts:53
The default answer to clicking a draft's quantity or type: a keypad with presets, or a menu of order types, next to the segment. Apps that call preventDefault() on draft:edit show their own UI instead; the editor decides after every listener ran, so listeners added after it count too.
Parameters
chart
options?
DraftEditorOptions = {}