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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?