amazeui
Version:
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
64 lines (47 loc) • 1.07 kB
Markdown
---
This widget can be used as header or title.
- Copy the codes in examples, and paste it to the `<body>` of the Amaze UI HTML template([Download](/getting-started));
- Replace the contents in examples with your own contents.
The Handlebars partial of this widget is `titlebar`. See [Accordion](/widgets/accordion) for more details.
- Drag the widget to the edit interface;
- Click the `Data binding` button on the right panel, and bind data using following format.
```javascript
var data = {
"title": "", // Title
"link": "", // Title link. Optional
"nav": [ // Additional links.
{
"link": "",
"title": "",
"className": ""
}
]
};
return data;
```
```javascript
{
"id": "",
"className": "",
"theme": "",
"options": null,
"content": {
"title": "",
"link": "",
"className": "",
"nav": [
{
"link": "",
"title": "",
"className": ""
}
]
}
}
```