width Number

The width of the ModalView container in pixels. If not set, the element style is used.

Example

<div data-role="view">
  <a href="#my-modal" data-rel="modalview" data-role="button">Open Modal</a>
</div>

<div data-role="modalview" id="my-modal" style="width: 200px; height: 200px;">
  Hello!
</div>

<script>
new kendo.mobile.Application();
</script>
In this article