Created
March 10, 2017 10:48
-
-
Save goofmint/24a462d26b4c5ed19efa3e9747a8d9e6 to your computer and use it in GitHub Desktop.
4.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 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