UI Framework-1: Aura Layout Managers

Layout Managers

LayoutManager is a convenient abstraction that separates messy layout heuristics from the other particulars of a Window.
A LayoutManager implementation attached to an Aura Window can control the layout (bounds, transform, and even other properties) of that Window's children.
 
A LayoutManager is typically attached to a window at creation/initialization time. It is notified when:
 
  • a child window added or removed, or the visibility of a child changes. This type of event may cause other child windows to be re-laid out.
  • the size of the bound Window changes, which may cause the children to be re-laid out to accommodate the new viewport size.
A LayoutManager implementation can be used for everything from simple behavior like keeping the application launcher docked to the bottom of the screen to complex layout heuristics for multiple windows across several virtual workspaces.

 

posted on 2018-12-05 19:00  huangguanyuan  阅读(137)  评论(0编辑  收藏  举报

导航