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.
 
 
 

35 lines
597 B

semantic.progress = {};
// ready event
semantic.progress.ready = function() {
var
$progress = $('.definition .ui.progress').not('.success, .error, .warning'),
$stateProgress = $('.definition .ui.success.progress, .ui.warning.progress, .ui.error.progress')
;
setTimeout(function() {
$progress
.progress({
random: {
min: 10,
max: 90
}
})
.progress('increment')
;
$stateProgress
.progress('set progress', 100)
;
}, 300);
};
// attach ready event
$(document)
.ready(semantic.progress.ready)
;