Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Mar 10, 2017
Embed
What would you like to do?
4.md
$(function(){
var disableDates = [];
var mainController = {
__name : 'h5.ui.container.MainController',
calendarController: h5.ui.components.Calendar,
__meta : {
calendarController: {
rootElement: '#container'
},
},
__init: function(){
this.$find(".select:first").attr("checked", true);
},
// 週間の日のスタイルにCSSでカスタマイズ
'#btnCssDow click': function() {
this.calendarController.setCssClassForDow(
this.$find('#selDowName').val(),
this.$find("#selCssDowName").val()
);
},
};
h5.core.controller('body', mainController);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment