Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
jspdown 163ff452ea | 9 years ago | |
---|---|---|
.. | ||
docs | 9 years ago | |
test | 9 years ago | |
README.md | 9 years ago | |
sidebar.js | 9 years ago |
angularify.semantic.sidebar
- sidebar directive for angular.js.
<sidebar button-class="#openSidebar">
<sidebar-item>
<h2 class="ui header inverted">
<div class="content">
Sidebar
<div class="sub header">Links and items</div>
</div>
</h2>
</sidebar-item>
<sidebar-link icon="home" title="home" href="#"></sidebar-link>
<sidebar-item-group title="other">
<sidebar-link title="contact" href="#"></sidebar-link>
<sidebar-link title="download" href="#"></sidebar-link>
</sidebar-item-group>
</sidebar>
<div class="pusher">
<button id="openSidebar" class="ui btn">Show sidebar</button>
</div>
angular
.module('sidebarApp', ['angularify.semantic.sidebar'])
.controller('RootCtrl', RootCtrl);
function RootCtrl ($scope) {
$scope.isOpen = false;
}
<sidebar>
- can have following properties:
button-class
- attach a selector that open the sidebar<sidebar-group-item>
- can have following properties:
title
- group title<sidebar-link>
- can have following properties:
title
- link texticon
- icon namehref
- link addressNo Description
JavaScript HTML Markdown
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》