Semantic-UI 初始化

// 2017.09.13 re-write Semantic-UI into jQuery.fn.extend
// Handle all SemanticUI operations
(function($) {
  $.extend({
    SUIInit: function() {
      console.log('Semantic-UI init');
      $('.ui.model').modal({
        inverted: true
      }).modal('hide');

      $(".ui.dropdown").dropdown({
        useLabels: false
      });
      $('.ui.accordion').accordion();
      //$('.ui.popup').popup({ inline: true });

      return this;
    }
  });
}) (jQuery);

results matching ""

    No results matching ""