Is there a directive in angular stuff for resizing sidenav?
There is a sidenav file that displays a list of clients, and the right pane contains information about the client. I am trying to add a resize panel between them.
I used the following
http://plnkr.co/edit/Zi2f0EPxmtEUmdoFR63B?p=preview
which I found in the following
Angular JS directive resizable div
I tried the above plunker example, but sidenav never changed. The right panel moves to the right, but the left panel remains unchanged.
<div layout="row" flex> <md-sidenav layout="column" class="md-sidenav-left md-whiteframe-z2" id="sidenav" md-component-id="left" md-is-locked-open="$mdMedia('gt-md')"> <md-list class="sideBar"> <md-item ng-repeat="client in data"> <md-item-content> <md-button ng-click="selectClient(client);" > {{client.name}} </md-button> </md-item-content> </md-item> </md-list> </md-sidenav> <div id="sidebar-resizer" resizer="vertical" resizer-width="6" resizer-left="#sidenav" resizer-right="#primary-col" resizer-max="400"> </div> <div layout="column" flex class="content-wrapper" id="primary-col"> <div id="viewPort" ng-view></div> </div> </div>
thanks
source share