open
Open the ModalView
<div data-role="view">
open
</div>
<div data-role="modalview" id="foo" style="width: 200px; height: 200px">
<a data-role="button" data-click="closeModal">Close</a>
</div>
<script>
function openModal() {
$("#foo").data("kendoMobileModalView").open();
}
function closeModal() {
$("#foo").data("kendoMobileModalView").close();
}
new kendo.mobile.Application();
</script>
Parameters
target jQuery
(optional)
The target of the ModalView