Skip to content

Latest commit

 

History

History
 
 

titlebar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Titlebar 标题栏


标题栏组件,常用作页头、标题等。

使用方法

直接使用

  • 拷贝演示中的代码,粘贴到 Amaze UI HTML 模板(点此下载<body> 区域;
  • 将示例代码中的内容替换为自己的内容。

使用 Handlebars

本组件 Handlebars partial 名称为 titlebar,使用细节参照折叠面板组件

云适配 WebIDE

  • 将组件拖入编辑界面;
  • 点击右侧面板里的【数据采集】按钮,按以下格式采集数据。
var data = {
  "title": "",		// 主标题
  "link": "",       // 主标题链接,可选
  "nav": [          // 右侧附加链接,可以为多个
    {
      "link": "",
      "title": "",
      "className": ""
    }
  ]
};

return data;

数据接口

{
  "id": "",

  "className": "",

  "theme": "",

  "options": null,

  "content": {
    "title": "",
    "link": "",
    "className": "",
    "nav": [
      {
        "link": "",
        "title": "",
        "className": ""
      }
    ]
  }
}