Skip to content

openedbox/meteor-semantic-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Semantic UI package for meteor Build Status

###What is this? This is a wrapper for Semantic UI v1.2.0 for Meteor.

###What is Semantic UI? Semantic is a set of specifications for sharing UI elements between developers. Semantic is also a UI library to make front end development simpler and easier to learn.

http://semantic-ui.com
https://github.com/Semantic-Org/Semantic-UI

###Install meteor add nooitaf:semantic-ui

####Using Modules: Javascript elements (modules) like dropdowns are not active by default. You will have to activate them 'manually' in the template.rendered of event function like:

// dropdown
Template.hello.rendered = function(){
	$('.ui.dropdown').dropdown();
}

You might want to consider using Approve / Deny Callbacks.

// modal
Template.hello.events({
  'click .openModal': function () {
    $('#modalView')
      .modal({
        onDeny    : function(){
          console.log('canceled');
          return false;
        },
        onApprove : function() {
        	console.log('pressed ok');
        }
      })
      .modal('show')
    ;
  }
});

http://semantic-ui.com/modules/modal.html#/examples

About

Semantic UI package for Meteor

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.0%
  • CSS 50.0%