Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Placeholder string Value string ButtonSize int Width string Height string MinHeight string MaxHeight string MinWidth string MaxWidth string AllowResizeX bool AllowResizeY bool LintElements map[string]*LintElement // [name]LintElement LintElementOrder []string Options []TextEditorOption }
func (*Config) AddLintElement ¶
func (*Config) AddLintElementCommand ¶
type Editor ¶
type Editor struct { *jse.Element // The root element Lint *jse.Element // Lint element Editor *jse.Element // Editor element Conf *Config }
func (*Editor) CurrentlySelectedText ¶
type LintElement ¶
type TextEditorOption ¶
type TextEditorOption func(*Editor)
func WithEditorHeight ¶
func WithEditorHeight(h string) TextEditorOption
func WithEditorWidth ¶
func WithEditorWidth(w string) TextEditorOption
Click to show internal directories.
Click to hide internal directories.