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.

34 lines
460 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. };
  23. // attach ready event
  24. $(document)
  25. .ready(semantic.modal.ready)
  26. ;