angular-aside

Off canvas side menu to use with ui-bootstrap.

Github星跟踪图

angular-aside npm version

Off canvas side menu for use with ui-bootstrap 0.14+. Extends ui-bootstrap's $uibModal provider.

:information_desk_person: Please use v1.2.x for ui-bootstrap versions 0.13 and below.

Live Demo

Install

Bower:

 $ bower install angular-aside

Then, include css/js in html.

NPM

 $ npm install angular-aside

Usage

 angular.module('myApp', ['ui.bootstrap', 'ngAside']);
angular.module('myApp')
  .controller('MyController', function($scope, $aside) {
    var asideInstance = $aside.open({
      templateUrl: 'aside.html',
      controller: 'AsideCtrl',
      placement: 'left',
      size: 'lg'
    });
  });

Supports all configuration that $uibModal has. Can be used with both template and templateUrl. For more info hit Modal section on angular-ui bootstrap documentation.

Additional Config

  • placement - Aside placement can be 'left', 'right', 'top', or 'bottom'.

Credits

Author

İsmail Demirbilek (@dbtek)

主要指标

概览
名称与所有者dbtek/angular-aside
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2014-08-21 08:49:44
推送于2017-11-10 08:39:28
最后一次提交2017-11-10 11:39:27
发布数13
最新版本名称1.4.0 (发布于 )
第一版名称1.0.0 (发布于 2014-08-23 21:48:07)
用户参与
星数190
关注者数8
派生数33
提交数78
已启用问题?
问题数42
打开的问题数6
拉请求数9
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?