Web SDKv1.0.0

layout.tablet

A touch screen wider than a phone gets the rails too, at tablet sizes: 'rail' puts the tools down the left edge in 56 × 52px cells, docks the active tool's options down the right at 268px, and docks the sidebar at 300px beside the page rather than sliding it over. The top bar keeps the chrome. 'none' keeps the desktop composition with the touch sizes. A host that wants the rail on every screen, mouse or not, asks for it as the toolbar layout: toolbar: { layout: 'rail' }. On a phone the phone placement still wins.
TabletLayoutdefault 'rail'

Values

  • 'rail'Default. Tools down the left, the active tool's options down the right, the sidebar docked beside the page.
  • 'none'The desktop composition with the touch sizes.

More in Layout