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.

37 lines
506 B

  1. semantic.modal = {};
  2. // ready event
  3. semantic.modal.ready = function() {
  4. // selector cache
  5. var
  6. // alias
  7. handler
  8. ;
  9. // event handlers
  10. handler = {
  11. };
  12. $('.selection')
  13. .dropdown({
  14. onChange: function(value) {
  15. $('.test.modal')
  16. .modal('setting', 'transition', value)
  17. .modal('show')
  18. ;
  19. }
  20. })
  21. ;
  22. $('.ui.checkbox')
  23. .checkbox()
  24. ;
  25. };
  26. // attach ready event
  27. $(document)
  28. .ready(semantic.modal.ready)
  29. ;