Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Oct 12, 2016
Embed
What would you like to do?
2.md
var pageController = {
__name: 'ui.chart.pageController',
_chartController: h5.ui.components.chart.ChartController, // チャートライブラリ
__meta: {
_chartController: {
// グラフを表示するdivタグのIDです。
rootElement: '#chart'
}
},
__ready: function(context) {
// 表示処理を行います
};
}
h5.core.expose(pageController);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment