Edit this page

open

Fires when the ModalView is shown.

Example

<div data-role="view">
    <a data-role="button" href="#foo" data-rel="modalview">Foo</a>
</div>

<div data-role="modalview" id="foo" data-open="logTarget">
    Foo
</div>

<script>
function logTarget(e) {
    console.log(e.target); // <a href="#foo" ...
}

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

Event Data

e.target jQuery

The invocation target of the ModalView.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy