ionic sidemenu

ionic sidemenu

A multilevel and theming side menu for ionic framework

Free!

Not yet rated
cpiles

cpiles

Member since 2015

Details

Version:
1.0
Size:
0mb
Ionic:
1.0.x
Platforms:
iOS, Android
View ID:
43193821
Released:
8 years ago
Updated:
8 years ago
Category:
Plugins
Tags:
ionic, side menu, multilevel, sidemenu, collapsible

Look with Ionic View

Take a look at it with Ionic View using ID: 43193821

Demo project

  • extract file and go demo folder
  • cd demo/
  • npm install
  • bower install
  • ionic setup sass
  • ionic serve

How to use in other project:

1) Extract file and copy ionic-sidemenu subfolder in your project lib folder

2) Specify the path of ionic-sidemenu.bundle.min.js in your index.html file.

<!-- path to ionic -->
<script src="lib/ionic-sidemenu/ionic-sidemenu.bundle.min.js"></script>

3) In your application's main module, inject the dependency ionic-sidemenu, in order to work with this plugin

angular.module('mainModuleName', ['ionic', 'ionic-sidemenu']){
//
}

4) You can configure this side menu at application level in the side menu controller to creating a json tree and theme. Your config method may look like this if you wish to setup the configuration.

.controller('SideMenuCtrl', function($scope) {
  $scope.theme = 'ionic-sidemenu-dark';
  $scope.tree =
    [{
      id: 1,
      level: 0,
      name: 'Maps',
      icon: "ion-map",
      items: [{
        id: 10,
        level: 1,
        name: 'Marker',
        icon: "ion-ios-location",
        items: [{
          id: 100,
          name: 'Images',
          level: 2,
          icon: "ion-image",
          state: 'app.search',
          items: null
        }, {
          id: 101,
          level: 2,
          name: 'User',
          icon: "ion-person",
          state: 'app.browse',
          items: null
        }]
      }]
    }, {
      id: 2,
      name: "Buy",
      icon: "ion-card",
      level: 0,
      state: 'app.playlists'
    }];
});

5) Inject in your menu.html a this example template to replacing ion-content of ion-side-menu.

    <ion-content ng-controller="SideMenuCtrl" ng-class="theme" >
        <div class="sidemenu-header">
          <img src="img/avatar.jpg"/>
        </div>
        <ion-list >
          <ionic-sidemenu tree="tree"></ionic-sidemenu>
        </ion-list>
    </ion-content>

6) ionic-sidemenu count with five themes, look at step five for an example

   ionic-sidemenu-blue
   ionic-sidemenu-red
   ionic-sidemenu-green
   ionic-sidemenu-stable
   ionic-sidemenu-dark 

Contact

Gmail : carlospilesdeveloper@gmail.com
Comment or Rate it : https://market.ionic.io/plugins/ionic-sidemenu

Hey there! You'll need to log in before you can leave a comment here.

Hieu Pham

Hieu Pham   ·   8 years ago

Can't you find another introduction content other than copy it from mine? You know what I'm talking about, buddy!

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Dginers

Dginers   ·   8 years ago

Dear Mr. Author of this plugin, when you copy idea/work from some one else please have the professionalism to recognize the original author. Your plugin is exact copy-paste of an earlier plugin from Mr. Hieu, refer to the link - http://market.ionic.io/plugins/ionic-multilevel-sidemenu As he correctly pointed out, at least use some brain to change the introduction content when you copy something from internet. To make sure everyone understand, I have talked about the original plugin with Mr. Hieu long time back (at least 4 months back) and he is the original author of this plugin.

cpiles

cpiles   ·   8 years ago

I find it incredible that this comment is written by a complaint from a person on an introduction less than 10 words spent two days. And more than one developer that most of its projects are based UI of other apps. The code for this project is to own, and a menu with sublevels is not an original idea of ​​the complainant nor mine. Your comment makes no sense and I expect a correction.Regards.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Leonel Corso

Leonel Corso   ·   8 years ago

Hi! Does this support showing or hiding menu items depending on the status of the user? (logged in for example)

Leonel Corso

Leonel Corso   ·   8 years ago

Can you set some badge number in the items?

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

  ·   just now

{{ comment.comment }}

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

  ·   just now

{{ comment.comment }}

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Leonel Corso

Leonel Corso   ·   8 years ago

Hi! Does this support showing or hiding menu items depending on the status of the user? (logged in for example)

Leonel Corso

Leonel Corso   ·   8 years ago

Can you set some badge number in the items?

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Dginers

Dginers   ·   8 years ago

Dear Mr. Author of this plugin, when you copy idea/work from some one else please have the professionalism to recognize the original author. Your plugin is exact copy-paste of an earlier plugin from Mr. Hieu, refer to the link - http://market.ionic.io/plugins/ionic-multilevel-sidemenu As he correctly pointed out, at least use some brain to change the introduction content when you copy something from internet. To make sure everyone understand, I have talked about the original plugin with Mr. Hieu long time back (at least 4 months back) and he is the original author of this plugin.

cpiles

cpiles   ·   8 years ago

I find it incredible that this comment is written by a complaint from a person on an introduction less than 10 words spent two days. And more than one developer that most of its projects are based UI of other apps. The code for this project is to own, and a menu with sublevels is not an original idea of ​​the complainant nor mine. Your comment makes no sense and I expect a correction.Regards.

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Hieu Pham

Hieu Pham   ·   8 years ago

Can't you find another introduction content other than copy it from mine? You know what I'm talking about, buddy!

  ·   just now

{{ reply.comment }}



Hey there! You'll need to log in before you can leave a comment here.

Hey there! You'll need to log in before you can leave a rating here.

There are no ratings for this plugin yet

  ·     ·   just now

{{ rating.comment }}

  ·     ·   just now

{{ rating.comment }}