Constructor
new SeparatorView()
- Since:
- Source:
Extends
Members
className
- Source:
mouseEnterCallback :function
Callback function to run when the user hovers. If not set, the default
behavior is to highlight the separator.
Type:
- Source:
mouseOutCallback :function
Callback function to run when the user stops hovering. If not set, the
default behavior is to unhighlight the separator.
Type:
- Source:
tagName
- Source:
Settings is passed to the Formantic UI popup module to configure a
tooltip shown when the user hovers over the separator. Set to `false`
to disable tooltips.
Type:
- Source:
- See:
-
type
- Source:
Methods
activate()
Add event listeners to the element to allow the user to change the
separator text by clicking on it. Add visual indicators to show that
the separator is clickable.
- Source:
Create and attach a tooltip
- Source:
deactivate()
Remove event listeners and visual indicators
- Source:
highlight()
Visually emphasize the separator
- Source:
initialize()
- Source:
remove()
- Source:
render()
- Source:
setText()
Update the text of the separator element to match the model
- Source:
unhighlight()
Visually de-emphasize the separator
- Source:
updateText()
Update the text shown in the separator element
- Source: