Methods
(inner) dragAndDropHome() → {void}
Drag and drop event handler
- Source:
Returns:
- Type
- void
(inner) executeHomeIcon(pos) → {void}
Executes the home icon action
Parameters:
Name | Type | Description |
---|---|---|
pos |
number | home icon position |
- Source:
Returns:
- Type
- void
(inner) getHomeIconType(cmd, action) → {string}
Returns the friendly type of the home icon
Parameters:
Name | Type | Description |
---|---|---|
cmd |
string | the command |
action |
string | action of the command |
- Source:
Returns:
friendly type
- Type
- string
(inner) handleHome() → {void}
Handles home
- Source:
Returns:
- Type
- void
(inner) hideDropoverIcon(el) → {void}
Hides the dragover tip
Parameters:
Name | Type | Description |
---|---|---|
el |
EventTarget | element |
- Source:
Returns:
- Type
- void
(inner) initViewHome() → {void}
Initializes the home feature elements
- Source:
Returns:
- Type
- void
(inner) parseHomeIcons(obj) → {void}
Parses the MYMPD_API_HOME_ICON_LIST response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response object |
- Source:
Returns:
- Type
- void
(inner) showDropoverIcon(from, to) → {void}
Shows the dragover tip
Parameters:
Name | Type | Description |
---|---|---|
from |
EventTarget | from element |
to |
EventTarget | to element |
- Source:
Returns:
- Type
- void
(inner) viewHomeClickHandler(event, target) → {void}
Click event handler for home icons
Parameters:
Name | Type | Description |
---|---|---|
event |
MouseEvent | click event |
target |
HTMLElement | calculated target |
- Source:
Returns:
- Type
- void