2

In the angular-ui-layout module, to set the size we need to pass a value like <div ui-layout-container size='20%'> is it possible to pass a model, so when ever model value gets changed, the size of the panel should also change.

Expecting:

<input ng-model='sizeModel' type='number'/>
<div ui-layout-container size='sizeModel'>

OR how to set open & close of a pane on button click event instead of clicking on small arrows in the divider?

Siva Kumar
  • 715
  • 1
  • 7
  • 21

1 Answers1

0

Have you tried put variable in brackets?

<div ui-layout-container size='{{sizeModel}}'>
Patryk S.
  • 1
  • 1