Skip to content
Javier Sánchez - Marín edited this page Oct 5, 2013 · 2 revisions

Tech specs

  • Components are completely agnostic and have a single responsibility.
  • Components are Responsive.
  • Components support touch and mouse events.
  • Components should have tests covering at least all API methods.
  • Class constructors receive allways the same arguments at first: el and options.
  • If multiple elements are passed to the Component constructor, it should take only the first one. Components should not have logic to handle multiple elements and multiple instances, it's uick's job.
  • Components should not implement the following methods: api
  • Components should have init and destroy methods.
  • If a Component requires CSS should include uick-components-scss to inherit common styles.
  • Components should use uick-query for querying the DOM.
  • Components should include as little CSS as possible, discard appeareance styles not needed.

Design specs

Ideas

Clone this wiki locally