Ionic navbar dropdown

I want to have an icon (three bars) on the right side of the navigation bar.

Something like that:

enter image description here

I had this, I found the code somewhere on the Internet, but I lost my code, and I could not find the URL from which I learned this technique.

Please help me restore the technique.

Thanks!

+6
source share
2 answers

In this case (according to the information you provided in the comment to my previous answer), you should use $ ionicPopover .

In the next article, you can read more information about this feature - Land support ionospore poppies

enter image description here

+13
source

If I come back, you want to use the side menu .

enter image description here

<ion-side-menus> <!-- Left menu --> <ion-side-menu side="left"> </ion-side-menu> <ion-side-menu-content> <!-- Main content, usually <ion-nav-view> --> </ion-side-menu-content> <!-- Right menu --> <ion-side-menu side="right"> </ion-side-menu> </ion-side-menus> function ContentController($scope, $ionicSideMenuDelegate) { $scope.toggleLeft = function() { $ionicSideMenuDelegate.toggleLeft(); }; } 

See a detailed example at the link above.

0
source

All Articles