Module: modalMounts_js

Methods

(inner) initModalMounts() → {void}

Initializes the mounts related elements
Source:
Returns:
Type
void

(inner) mountMount(target) → {void}

Mounts a mount
Parameters:
Name Type Description
target Element triggering element
Source:
Returns:
Type
void

(inner) mountMountCheckError(obj) → {void}

Response handler for MYMPD_API_MOUNT_MOUNT
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) mountUnmountCheckError(obj) → {void}

Response handler for MYMPD_API_MOUNT_UNMOUNT
Parameters:
Name Type Description
obj object jsonrpc response
Source:
Returns:
Type
void

(inner) parseListMounts(obj) → {void}

Parses the MYMPD_API_MOUNT_LIST response
Parameters:
Name Type Description
obj object jsonrpc response object
Source:
Returns:
Type
void

(inner) parseNeighbors(obj) → {void}

Parses the MYMPD_API_MOUNT_NEIGHBOR_LIST response
Parameters:
Name Type Description
obj object jsonrpc response object
Source:
Returns:
Type
void

(inner) showEditMount(uri, storage) → {void}

Shows the edit mount tab from the mount modal
Parameters:
Name Type Description
uri string mounted uri
storage string mount point
Source:
Returns:
Type
void

(inner) showListMounts() → {void}

Shows the list mount tab from the mount modal
Source:
Returns:
Type
void

(inner) unmountMount(mountPoint, target) → {void}

Unmounts a mount point
Parameters:
Name Type Description
mountPoint string mount point
target Element triggering element
Source:
Returns:
Type
void

(inner) updateMount(el, uri) → {void}

Updates a mount point
Parameters:
Name Type Description
el HTMLElement | EventTarget event target
uri string mount point
Source:
Returns:
Type
void