Edit this page

show

Fires when a mobile View using the layout becomes visible.

Event Data

e.layout jQuery

The mobile layout instance

e.view jQuery

The mobile view instance

Example

<div id="foo" data-role="view" data-layout="default">
  Foo view
</div>

<div id="bar" data-role="view" data-layout="default">
  Bar view
</div>

<div data-role="layout" data-id="default"  data-show="onShow">
  <div data-role="footer">
    <div data-role="tabstrip">
      <a href="#foo" data-icon="contacts">foo</a>
      <a href="#bar" data-icon="history">bar</a>
    </div>
  </div>
</div>

<script>
var app = new kendo.mobile.Application();

function onShow(e) {
  console.log("show");
}
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy