angular-autolayout icon indicating copy to clipboard operation
angular-autolayout copied to clipboard

Where are you using angular-autolayout? How would you improve it?

Open thenikso opened this issue 9 years ago • 1 comments

Hey there!

This project is always getting a new :star: from time to time an no one is complaining of anything about it!
I was wondering if you are using it and how. Also how would you see this going forward?

Thanks!

thenikso avatar Apr 07 '15 21:04 thenikso

I started looking at this today after being intrigued by this demo, https://gridstylesheets.org/demos/profile-card/index.html. I landed here after searching for an angular solution. Are you using angular-autolayout on anything in production?

Where does this fit considering there is flexbox and possibly http://www.w3.org/TR/css-grid-1/ ?

I would like to see more examples:

  • responsive layout conditional constraints (I saw your tests your using ng-if)
  • redo some of the samples on Showcase section: https://philipwalton.github.io/solved-by-flexbox/

How would you improve it?

pseudo code http://embed.plnkr.co/QXL8bP3FUOWSKTcTR0cF/preview

console: builder .. app.js (line 14) - how i would configure the constraints in code. rule .. app.js (line 33) redraw .. app.js (line 18) - example of how I would redraw without a directive.

summary: The user's controller should get access to the auto-layout manager's instance and issue a redraw. It would eliminate this directive: al-update-on="myEvent".

The docs states it is a "service" but I would like to see more granular control as various angular components might use it. (not global level service but an instance based on dom structure).
require: "^xyz" //solves this.

leblancmeneses avatar Sep 14 '15 01:09 leblancmeneses