7.md
(function($) { | |
var pageController = { | |
__name: 'PageController', | |
'button.draggable-popup click': function(context, $el) { | |
sample.showPopup(true); | |
}, | |
}; | |
h5.core.expose(pageController); | |
})(jQuery); | |
$(function() { | |
h5.core.controller('body', PageController); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment