Methods
(inner) deletePartition(el, partition) → {void}
Deletes a partition
Parameters:
Name | Type | Description |
---|---|---|
el |
EventTarget | triggering element |
partition |
string | partition name to delete |
- Source:
Returns:
- Type
- void
(inner) deletePartitionCheckError(obj) → {void}
Handler for the MYMPD_API_PARTITION_RM jsonrpc response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) initModalPartitions() → {void}
Initialization function for the partition elements
- Source:
Returns:
- Type
- void
(inner) parsePartitionList(obj) → {void}
Parses the MYMPD_API_PARTITION_LIST jsonrpc response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) savePartition(target) → {void}
Creates a new partition
Parameters:
Name | Type | Description |
---|---|---|
target |
Element | triggering element |
- Source:
Returns:
- Type
- void
(inner) savePartitionCheckError(obj) → {void}
Handler for the MYMPD_API_PARTITION_NEW jsonrpc response
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | jsonrpc response |
- Source:
Returns:
- Type
- void
(inner) showListPartitions() → {void}
Shows the list partition tab
- Source:
Returns:
- Type
- void
(inner) showNewPartition() → {void}
Shows the new partition tab
- Source:
Returns:
- Type
- void
(inner) switchPartition(partition) → {void}
Switches the current browser session to a partition
Parameters:
Name | Type | Description |
---|---|---|
partition |
string | partition name to switch to |
- Source:
Returns:
- Type
- void