All Projects → SidebarJS → angular-sidebarjs

SidebarJS / angular-sidebarjs

Licence: MIT license
Create mobile sidebar/sidenav experiance in AngularJS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to angular-sidebarjs

Sidebar
Sidebars for web apps
Stars: ✭ 127 (+408%)
Mutual labels:  sidebar
Animsidebar
A SiderBar base on Android that has a beautiful anim
Stars: ✭ 220 (+780%)
Mutual labels:  sidebar
content-aware-sidebars
WordPress Plugin to create and display custom sidebars according to the content being viewed. Fast and powerful.
Stars: ✭ 21 (-16%)
Mutual labels:  sidebar
Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Bulma, AntDesign, and Material.
Stars: ✭ 2,103 (+8312%)
Mutual labels:  sidebar
React Adminlte Dash
This project is No Longer Maintained. React implementation of AdminLTE themed dashboard
Stars: ✭ 170 (+580%)
Mutual labels:  sidebar
toppy
Overlay library for Angular 7+
Stars: ✭ 81 (+224%)
Mutual labels:  sidebar
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+5824%)
Mutual labels:  sidebar
Boundary
Boundary is a CSS+Javascript library for Chrome extension developers to easily create HTML elements that won’t affect or be affected by the current webpage’s CSS. Strongly recommended if you are considering adding a sticker, a sidebar or any overlay box using content script.
Stars: ✭ 59 (+136%)
Mutual labels:  sidebar
Treestyletab
Tree Style Tab, Show tabs like a tree.
Stars: ✭ 2,438 (+9652%)
Mutual labels:  sidebar
kirby-previewfiles
💪 A Kirby field to enable file thumbnail preview in the panel sidebar
Stars: ✭ 35 (+40%)
Mutual labels:  sidebar
Rxtool
Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | Zip4j压缩(支持分卷压缩与加密) | 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 | 仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 蛛网等级 | 颜色选择器 | ArcGis | VTPK | 编译运行一下说不定会找到惊喜
Stars: ✭ 11,567 (+46168%)
Mutual labels:  sidebar
Angular Pro Sidebar
Responsive sidebar template with dropdown menu built with angular 7 and bootstrap 4
Stars: ✭ 160 (+540%)
Mutual labels:  sidebar
discord-sidebar-price-bot
A minimal Discord sidebar price bot (supports forex, crypto, eth gas & fear and greed index)
Stars: ✭ 37 (+48%)
Mutual labels:  sidebar
Material Dashboard React
React version of Material Dashboard by Creative Tim
Stars: ✭ 1,947 (+7688%)
Mutual labels:  sidebar
pandoc-toc-sidebar
A Pandoc HTML template with TOC on the sidebar, using Bootstrap 3
Stars: ✭ 56 (+124%)
Mutual labels:  sidebar
Vertical Tabs Reloaded
Firefox add-on for arranging tabs vertically
Stars: ✭ 115 (+360%)
Mutual labels:  sidebar
Semantic Ui
Semantic is a UI component framework based around useful principles from natural language.
Stars: ✭ 49,729 (+198816%)
Mutual labels:  sidebar
nano-sidebar
Emacs package to have configurable sidebars on a per frame basis.
Stars: ✭ 98 (+292%)
Mutual labels:  sidebar
Docsify-Build-Sidebar
😆 Docsify 侧边栏 : 【自动生成 Docsify 的 Sidebar 与 子目录 Sidebar】
Stars: ✭ 33 (+32%)
Mutual labels:  sidebar
vue-modal
A customizable, stackable, and lightweight modal component for Vue.
Stars: ✭ 96 (+284%)
Mutual labels:  sidebar

Angular SidebarJS (AngularJS v1.x)

Create mobile sidebar/sidenav experiance in AngularJS.

Are you looking for a version with Angular? Try ng-sidebarjs

npm install angular-sidebarjs --save

Demo

Open the demo on your device and try the touch gestures!

Installation

Classic

<script src="your/path/angular-sidebarjs.js"></script>

Require

require('angular-sidebarjs');

ES6

import ngSidebarJS from 'angular-sidebarjs';

Options

<sidebarjs
  // Optional | Required only for multiple sidebarjs
  sidebarjs-name="mainSidebarJS"
  
  // Optional
  sidebarjs-config="{
      // Minimum swipe in px required to trigger listener: open
      documentMinSwipeX?: 10,
      // Range in px where document is listening for gesture: open
      documentSwipeRange?: 40,
      // Open and close sidebar with swipe gestures
      nativeSwipe?: true,
      // Enable/Disable open on swipe
      nativeSwipeOpen?: true,
      // Sidebar position, accepted values: left|right
      position?: 'left',
      // Backdrop opacity on sidebar open
      backdropOpacity?: 0.3,
  }"
  
  // Optional | Function called after sidebar is open
  on-close="$ctrl.onSidebarClose()"
  
  // Optional | Function called after sidebar is close
  on-open="$ctrl.onSidebarOpen()"
  
  // Optional | Function called when sidebar change visibility
  on-change-visibility="$ctrl.onSidebarChangeVisibility($event)">
</sidebarjs>

Implementation

Download files

Download and save all files

$ npm install angular-sidebarjs --save

Insert angular-sidebarjs.min.css and angular-sidebarjs.min.js in your index.html.

<head>

  <link rel="stylesheet" href="your/path/angular-sidebarjs.min.css">

</head>
<body>

  <script src="your/path/angular-sidebarjs.min.js"></script>

</body>

Inject ngSidebarJS

angular
  .module('DemoApp', [
    'ngSidebarJS'
  ])

Create SidebarJS element

Write sidebarjs tag and a trigger button with just [sidebarjs-toggle] attribute.

<body ng-app="DemoApp">

  <button sidebarjs-toggle>Open/Close</button>

  <sidebarjs>
    <div>Title</div>
    <nav>
      <a href="link">Home</a>
      <a href="link">About</a>
      <a href="link">Contacts</a>
    </nav>
  </sidebarjs>

</body>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].