The boolean [location] entries module exports the boolean function as default.
Methods
(inner) boolean(entry) → {HTMLElement}
mapp.ui.locations.entries.boolean(entry)
Returns a HTML element as visual representation of the boolean value. A checkbox element will be returned if the entry is editable.
{
"title": "Flag",
"label": "Checkbox",
"edit": true,
"field": "flag",
"type": "boolean",
"inline": true
}
Parameters:
Name | Type | Description |
---|---|---|
entry | infoj-entry | type:boolean infoj entry. |
Returns:
Location view entry node.
- Type:
- HTMLElement