Giter Site home page Giter Site logo

Documentation about react-autolayout HOT 3 CLOSED

fattenap avatar fattenap commented on July 22, 2024
Documentation

from react-autolayout.

Comments (3)

fattenap avatar fattenap commented on July 22, 2024

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.

meaningfool avatar meaningfool commented on July 22, 2024

Alright, I'll be watching. I also wonder for now how to compose with motion / transition modules...

Cheers,
Josselin

from react-autolayout.

fattenap avatar fattenap commented on July 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.