stumbled upon an AutoLayout implementation for AngularJS

164 views
Skip to first unread message

D4 Tocchini

unread,
Apr 26, 2014, 2:06:11 AM4/26/14
to overcon...@googlegroups.com
In case you guys hadn't seen it:

http://thenikso.github.io/angular-autolayout/

It's using Cassowary.js

Sample API:

<div id="demo1" class="demo-container" al-update-on-resize> <div id="demo1-A" class="demo-box">A</div> <div id="demo1-B" class="demo-box">B</div> <div id="demo1-C" class="demo-box">C</div> <al-constraint align="top">|-[demo1-A(==demo1-B,==demo1-C)]-[demo1-B]-|</al-constraint> <al-constraint>V:|-[demo1-A]-|</al-constraint> <al-constraint align="right">V:|-[demo1-B(==demo1-C)]-[demo1-C]-|</al-constraint> </div>


Alex Russell

unread,
Apr 26, 2014, 4:41:27 PM4/26/14
to overcon...@googlegroups.com

Exciting!

Now I really need to get off my butt and finish this profile analysis on the solver. I think we can go much faster.

--
You received this message because you are subscribed to the Google Groups "overconstrained" group.
To unsubscribe from this group and stop receiving emails from it, send an email to overconstrain...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Greg Badros

unread,
Apr 27, 2014, 12:13:24 AM4/27/14
to overcon...@googlegroups.com
Wow, cool, thx for sharing!
Reply all
Reply to author
Forward
0 new messages