You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
506 B
38 lines
506 B
semantic.modal = {};
|
|
|
|
// ready event
|
|
semantic.modal.ready = function() {
|
|
|
|
// selector cache
|
|
var
|
|
// alias
|
|
handler
|
|
;
|
|
|
|
// event handlers
|
|
handler = {
|
|
|
|
};
|
|
|
|
$('.selection')
|
|
.dropdown({
|
|
onChange: function(value) {
|
|
$('.test.modal')
|
|
.modal('setting', 'transition', value)
|
|
.modal('show')
|
|
;
|
|
}
|
|
})
|
|
;
|
|
$('.ui.checkbox')
|
|
.checkbox()
|
|
;
|
|
|
|
|
|
};
|
|
|
|
|
|
// attach ready event
|
|
$(document)
|
|
.ready(semantic.modal.ready)
|
|
;
|