ui/locations/entries/title
The key entry module exports a default [location] entry method to process infoj type:title
entries.
Methods
(inner) title(entry) → {HTMLElement}
mapp.ui.locations.entries.title(entry)
The method returns just the title of the entry. You can provide a tooltip (shown when hovering over the title). You can provide a css style for the title (to style the title in a specific way).
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
entry | Object | Properties
|
Returns:
The title element.
- Type:
- HTMLElement
Example
```json
{
"title": "This is a title",
"type":"title",
"tooltip": "This is a tooltip",
"css_title": "font-weight: 800"
}
```