Comments (3)
Hi meaningfool,
Firstly thanks for your interest in the project. The project is in it's early days and is untested. There are still changes to come that will change the API, and most likely breaking changes, so you may want to hold off from using it in production.
The concept of the query function is that it allows you to set break points at the element\view level as opposed to the viewport. This allows for more flexibility in layouts. The constraints parameter that gets passed in holds all the defined views widths and heights, so that you can reference them when deciding how to layout your views.
With regards to the caveats. React-autolayout is based on autolayout.js - developed by @IjzerenHein. It uses some properties that are currently not supported by React-AutoLayout, like Z Ordering and meta comments. But I'm currently addressing those. With regards to the css style reference's, those attributes are used by autolayout to layout the views. So you cannot set those values directly on the view you are creating. However, any child elements inside the element specified with the viewKey
can be styled.
I hope that clarifies it a little, but I hope to add more to the documentation with some sample code in the coming weeks, once I firm up some concepts.
Again, download it, play around, provide feedback, but be warned it still in alpha.
Thanks
Frank
from react-autolayout.
Alright, I'll be watching. I also wonder for now how to compose with motion / transition modules...
Cheers,
Josselin
from react-autolayout.
I will be investigating that also. So stay tuned.
On Friday, 18 September 2015, Josselin Perrus [email protected]
wrote:
Alright, I'll be watching. I also wonder for now how to compose with
motion / transition modules...Cheers,
Josselin—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from react-autolayout.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-autolayout.