What convention should I use while choosing css class name for a jQuery widget.
Posted
by Mathieu Pagé
on Stack Overflow
See other posts from Stack Overflow
or by Mathieu Pagé
Published on 2010-06-16T02:04:58Z
Indexed on
2010/06/16
2:12 UTC
Read the original article
Hit count: 314
Hi,
While creating a jQuery widget, what convention should I use to name my CSS classes. jQuery uses a 'ui-' prefix followed by the plugin name and a class specific name (example : ui-datepicker-header).
Should I use this convention? Or is the 'ui' prefix "reserved" for jQuery's official use only?
© Stack Overflow or respective owner