stretch Boolean(default: false)

If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling. Useful if the view contains an image or a map.


<div data-role="view" data-stretch="true">
  <div style="background: gray">This element will be stretched</div>

In this article
Not finding the help you need? Improve this article