Extends
- EventTarget
Members
(private) cursor_ :Element
- Description:
Element in the dom which is used as a grafic replacement of the cursor.
- Source:
Element in the dom which is used as a grafic replacement of the cursor.
Type:
- Element
(private) hoverElements_ :NodeList
- Description:
List of elements to be perceived for hovering.
- Source:
List of elements to be perceived for hovering.
Type:
- NodeList
(private) leaveElements_ :NodeList
- Description:
List of elements that should use the default cursor for themselves again.
- Source:
List of elements that should use the default cursor for themselves again.
Type:
- NodeList
(private) preventShow_ :boolean
- Description:
Specifies whether the display of the custom cursor should be prevented.
- Source:
Specifies whether the display of the custom cursor should be prevented.
Type:
- boolean
Methods
(private) handleLeaveOut_()
- Description:
Handle mouse out an element which is defined in the leave element list and should display the default cursor
- Source:
(private) handleLeaveOver_(event)
- Description:
Handle mouse over an element which is defined in the leave element list and should display the default cursor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
event |
Event |
hide()
- Description:
Hide the custom cursor
- Source:
(private) move_(event)
- Description:
Handle mouse move event for updating the position of the custom cursor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
event |
Event |
out()
- Description:
Handle mouse out event of an element which is defined in the hover elements list
- Source:
over()
- Description:
Handle mouse over event of an element which is defined in the hover elements list
- Source:
show()
- Description:
Make the custom cursor visible
- Source:
update()
- Description:
Trigger manual check to display custom mouse cursor after changing the list of hover or leave elements.
- Source: