Created
February 14, 2017 01:14
-
-
Save goofmint/f7808710007d73ce4255424875cb85d0 to your computer and use it in GitHub Desktop.
2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
var pageController = { | |
__name: 'PageController', | |
'button.normal-popup click': function(context, $el) { | |
h5.ui.popupManager.createPopup('sample', 'モーダレスダイアログ', 'サンプルです').show(); | |
} | |
}; | |
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