Skip to content

A simple, experimental JavaScript library to layout elements relative to each other and other elements.

Notifications You must be signed in to change notification settings

tfriedel6/jslay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jslay

A simple, experimental JavaScript library to layout elements relative to each other and other elements.

Version History

0.5.0

  • Allow setting right and bottom properties as well
  • Added single letter shorthand for the properties
  • Added self reference syntax

0.4.2

  • Allow empty rules so that width and height can be set by the browser

0.4.1

  • Fixed another dependency bug

0.4.0

  • Added clear functions to remove existing layout rules and constants
  • Layout functions can now return the resulting layout rather than applying it to allow the user to apply it (for example with animations)

0.3.2

  • Fixed a dependency bug

0.3.1

  • Code cleanup

0.3.0

  • Added support for user-defined constants

0.2.1

  • Parenthesis support in expressions

0.2.0

  • Layout rules are now overwritten instead of added if they already exist
  • Right and bottom properties can now be used in layout rules

0.1.1

  • Fixed an operator precedence issue

0.1

  • First release

About

A simple, experimental JavaScript library to layout elements relative to each other and other elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published