Methods
(inner) getTypeTitle(value) → {string}
Returns the friendly names for type icons
Parameters:
Name | Type | Description |
---|---|---|
value |
string | tag value |
Returns:
friendly name
- Type
- string
(inner) gridBody(body, data, list) → {void}
Populates the grid body
Parameters:
Name | Type | Description |
---|---|---|
body |
Element | grid footer to populate |
data |
object | data to populate |
list |
string | view name |
Returns:
- Type
- void
(inner) setGridImage(changes, observer) → {void}
Callback function for intersection observer to lazy load cover images
Parameters:
Name | Type | Description |
---|---|---|
changes |
object | IntersectionObserverEntry objects |
observer |
object | IntersectionObserver |
Returns:
- Type
- void
(inner) updateGrid(obj, list, perCardCallbackopt, createCardBodyCallbackopt, createCardActionsCallbackopt) → {void}
Updates the table from the jsonrpc response
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
obj |
object | jsonrpc response | |
list |
string | row name to populate | |
perCardCallback |
function |
<optional> |
callback per card |
createCardBodyCallback |
function |
<optional> |
callback to create the footer |
createCardActionsCallback |
function |
<optional> |
callback to create the footer |
Returns:
- Type
- void