toggles the compact mode of Pivot

boolean compact;


  view: "pivot",
  url: "",
  compact: true // sets to compact mode initially

Related samples


By default Pivot switches to the compact mode when its size is less than or equal to 720px. This can happen during initialization or when the widget or viewport is resized. You can force the compact mode to be set initially through the compact property of the constructor like it's done in the example above.

See also
Back to top