Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thenikso opened this issue Apr 7, 2015 · 1 comment
Open
Labels

Comments

@thenikso
Copy link
Owner

thenikso commented Apr 7, 2015

Hey there!

This project is always getting a new ⭐ 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!

@leblancmeneses
Copy link

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants