View Source Kino.Excalidraw.Options (KinoExcalidraw v0.4.0)
The options for configuring the Excalidraw editor.
Option | Description | Default |
---|---|---|
:height | The height of the editor in pixels. | 600 |
:scroll_to_content | Whether to scroll to the content when the editor is loaded. | true |
:view_mode_enabled | Whether the view mode is enabled. | false |
:zen_mode_enabled | Whether the zen mode is enabled. | false |
:grid_mode_enabled | Whether the grid mode is enabled. | false |
:variable | The variable name to be used for source code export. | nil |
Summary
Types
Functions
build(options, valid_options \\ [:height, :scroll_to_content, :view_mode_enabled, :zen_mode_enabled, :grid_mode_enabled, :variable])
@spec build(Enumerable.t(tuple()), [atom()]) :: t()