angular-ui / ui-layout

This directive allows you to split !
http://angular-ui.github.io/ui-layout/
MIT License
405 stars 194 forks source link

The splitbar position defaults to middle on page load #13

Open ashq opened 10 years ago

ashq commented 10 years ago

I was using Jquery's UI Layout plugin initially and recently started using angular and so the ui layout directive . In Jquery's UI Layout the resizer (the splitbar) once repositioned does not change on page reload . Unlike this in ui-layout directive we move the splitbar according to our convenience refresh the page and then splitbar will come back to its initial position .

groberts9 commented 9 years ago

+1

kuus commented 9 years ago

+1 Or maybe would be more powerful to put in the api a callback on the end of the resize event with some useful information as arguments.

SomeKittens commented 9 years ago

@mohsen1 mentions that it may be a good idea to use localStorage for this purpose.