Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created May 27, 2016 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/61e8878d6ffdb07d842091ce9680c8e5 to your computer and use it in GitHub Desktop.
Save goofmint/61e8878d6ffdb07d842091ce9680c8e5 to your computer and use it in GitHub Desktop.
(function() {
var controller = {
__name: 'sample.AppPurchaseManagerController',
_accordionPanelController: h5.ui.container.AccordionPanelController,
__init: function() {
// ビューを作成
sample.util.createDefaultControllerView(this);
},
'{window} resize': function() {
this._accordionPanelController.refresh();
},
'{rootElement} boxSizeChange': function(ctx) {
}
};
// コントローラを外部公開
h5.core.expose(controller);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment