• Life cycle function – listens for page loads

    onLoad: function (options) {

    },

  • Life cycle function – Listens for the page to complete its first rendering

    onReady: function () {

    },

  • Life cycle function – Listens for page display

    onShow: function () {

    },

  • Life cycle function – Listens for page hiding

    onHide: function () {

    },

  • Life cycle function – Listens for page unload

    onUnload: function () {

    },

  • Page-specific event handlers – listen for user pull actions

    onPullDownRefresh: function () {

    },

  • A handler for a pull-down event on the page

    onReachBottom: function () {

    },

  • Users click on the upper right to share

    onShareAppMessage: function () {

    }