Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 530 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 530 Bytes

#Happy components

See demo

##Usage

  1. Make sure you are using happy components

    <script type="text/javascript" src="../src/assets/js/happy.js"></script>
  2. Use them:

  • Simple:

      <label>
      	<input class="happy" type="radio" name="animal" value="dog"> A dog
      </label>
    
  • Colored (as you are used to from Bootstrap)

      <input class="happy primary">
    
  1. In case you need to re-init Happy JS, call

    window.happy.reset();