# j-Title

> j-Title: easy usage; singleton

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: d1a284aa788b61f01364da6bc4591357f0108369ab7318dc3333bab446e29ce8
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- singleton

__Configuration__:

- `separator {String}` a character for separation (default: `-`)
- `name {String}` a name of the website (default: `document.title`)
- `empty {String}` a string, which is filled, if there is no value in the path
- `plus {Boolean}` adds a default title as a plus phrase (default: `true`)

__Methods__:

- `component.rename(value)`

Use it with `<ui-component name="title">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Pavol Danko. Source: the Componentator components repository, MIT license.

```html example.html
Title has been changed with the value defined in the <code>common.name</code>.

<ui-component name="title" path="common.name"></ui-component>

<script>
	var common = { name: 'Page name' };
</script>
```
