Looking for the issue tracker?
It's moved to https://enyojs.atlassian.net.
This is a layout library for Enyo 2. This library provides a collection of layout functionality
The list package provides a
List control that displays a scrolling list of
rows. It's suitable for displaying very large lists and is optimized such that
only a small portion of the list is rendered at a given time.
The fittable package helps you create layouts that expand to fit available space--a common need for apps, but one that has historically been difficult to meet using Web technologies.
FittableRows controls let you define views whose
children are arranged either horizontally or vertically. Within a given view,
you can designate one child to expand and contract to fit the available space,
while its siblings retain their natural or explicitly-specified sizes. Fittable
views may be nested as needed.
As much as we like them, we want to emphasize that you should only use
FittableRows when you need views to expand and
contract to fit available space. If you simply want to arrange elements
horizontally or vertically, you're better off employing standard Web layout
Check out the
Fittable sample to
FittableRows in action.
enyo.Panels kind is designed to satisfy a variety of common use cases
for application layout. Using
enyo.Panels, controls may be arranged as
(among other things) a carousel, a set of collapsing panels, a card stack
that fades between panels, or a grid.
For more information, see the Panels documentation on the Enyo wiki.
Slideable is a control that can be dragged either left-to-right or up-and-down between a minimum and a maximum value. When released from dragging, a Slideable will animate to its minimum or maximum position based on the direction dragged.
Tree is a control showing a vertical list of labels with nesting and collapsing of hierarchy levels. There's a simple example in the Enyo Sampler showing the control in use as a directory and file tree.