123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <!DOCTYPE html>
- <html>
- <head lang="en">
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
- <title>nya-bootstrap-select</title>
- <link rel="stylesheet" href="css/main.css"/>
- <link rel="stylesheet" href="css/github.css"/>
- <link rel="stylesheet" href="css/nya-bs-select.css"/>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-57271051-2', 'auto');
- ga('send', 'pageview');
- </script>
- </head>
- <body ng-app="docApp">
- <nav class="navbar navbar-default nya-docs-nav" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#bs-example-navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" ui-sref="home">nya-bootstrap-select</a>
- </div>
- <div class="collapse navbar-collapse" id="bs-example-navbar">
- <ul class="nav navbar-nav">
- <li ui-sref-active="active">
- <a ui-sref="main">Getting Started</a>
- </li>
- <li ui-sref-active="active">
- <a ui-sref="examples">Examples</a>
- </li>
- <li ui-sref-active="active">
- <a ui-sref="api">API Reference</a>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- <div class="nya-docs-header" ng-controller="HeaderCtrl">
- <div class="container" ng-if="!isHome">
- <h1 ng-cloak>{{headerContents[currentState.parent].heading}}</h1>
- <p ng-cloak>{{headerContents[currentState.parent].desc}}</p>
- </div>
- <div class="container" ng-if="isHome">
- <h1>nya-bootstrap-select</h1>
- <p>An Bootstrap dropdown component and replacement of vanilla select element, designed for AngularJS</p>
- <p>
- <a class="btn btn-outline-inverse btn-lg" href="https://github.com/lordfriend/nya-bootstrap-select">
- Code on GitHub
- </a>
- <a class="btn btn-outline-inverse btn-lg" href="https://github.com/lordfriend/nya-bootstrap-select/releases">
- <i class="glyphicon glyphicon-download-alt"></i>
- Download
- </a>
- </p>
- </div>
- </div>
- <div class="container">
- <div class="home-desc" ng-if="isHome">
- <p class="lead">
- nya-bootstrap-select helps you build select element or dropdown with Bootstrap style and an angular way. Generate options with collection, get user select value with model.
- Define various styles of the select options as you wish.
- </p>
- </div>
- <div class="feature-list" ng-if="isHome">
- <div class="row">
- <div class="col-md-4 col-sm-6">
- <h4>
- Better Select Element
- </h4>
- Support both single and multiple select mode, make it a better replacement of select element than others.
- </div>
- <div class="col-md-4 col-sm-6">
- <h4>
- No JQuery Required
- </h4>
- The only angular and bootstrap css are required. no longer depends on jquery.
- </div>
- <div class="col-md-4 col-sm-6">
- <h4>
- Customize Option Style Is Easy
- </h4>
- Build you option aka dropdown element is very easy. write your template under each list element to make any appearance. No attribute content needed any more.
- </div>
- </div>
- <div class="row">
- <div class="col-md-4 col-sm-6">
- <h4>
- Live Search through The Options
- </h4>
- Just add a attribute live-search="true", you can add an live search component into your dropdown.
- </div>
- <div class="col-md-4 col-sm-6">
- <h4>
- Control the Button Content.
- </h4>
- You can use some feature like select-text-format or alternative display to control the button content when user select or un-select options.
- </div>
- <div class="col-md-4 col-sm-6">
- <h4>
- Layout With Bootstrap 3
- </h4>
- You can use bootstrap grid system to layout size and position of your dropdown.
- </div>
- </div>
- </div>
- <div ui-view ng-if="!isHome" ng-cloak>
- <div class="loading-container">
- <img class="loading-icon" src="svg-loaders/grid.svg" alt="Loading..."/>
- </div>
- </div>
- </div>
- <footer class="doc-footer" role="contentinfo">
- <div class="container">
- <div class="nya-docs-social">
- <ul class="nya-docs-social-buttons">
- <li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=lordfriend&repo=nya-bootstrap-select&type=watch&count=true" frameborder="0" width="100" height="20" title="Star on Github"></iframe>
- </li>
- <li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=lordfriend&repo=nya-bootstrap-select&type=fork&count=true" frameborder="0" width="100" height="20" title="Fork on Github"></iframe>
- </li>
- </ul>
- </div>
- <p>Design and built by <a href="http://nya.io">Nyasoft</a></p>
- <p>Code licensed under <a href="https://github.com/lordfriend/nya-bootstrap-select/blob/master/LICENSE">MIT</a>, document under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
- </div>
- </footer>
- <script src="js/jquery.js"></script>
- <script src="js/bootstrap.js"></script>
- <script src="js/angular.js"></script>
- <script src="js/angular-ui-router.js"></script>
- <script src="js/nya-bs-select.js"></script>
- <script src="js/app.js"></script>
- </body>
- </html>
|