Module

Web.Util.TextCursor.Element.HTML

Package
purescript-textcursor
Repository
MonoidMusician/purescript-textcursor

#value Source

value :: Getter String

Get the current text value of a TextCursorElement.

#setValue Source

setValue :: Setter String

Set the text value of a TextCursorElement to the specified string.

#selectionStart Source

selectionStart :: Getter Int

Get the index of the start of the selection.

#setSelectionStart Source

setSelectionStart :: Setter Int

Set the index of the start of the selection.

#selectionEnd Source

selectionEnd :: Getter Int

Get the index of the end of the selection.

#setSelectionEnd Source

setSelectionEnd :: Setter Int

Set the index of the end of the selection.

#selectionDirection Source

selectionDirection :: Getter Direction

Get the direction of the selection.

#setSelectionDirection Source

setSelectionDirection :: Setter Direction

Set the direction of the selection