diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/ClassNameManager.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/ClassNameManager.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1878 @@ + + + + + ClassNameManager - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

ClassNameManager Class

+
+ + + + + + + + + + + Module: classnamemanager + + + + +
+ + + +
+

A singleton class providing:

+ +
    +
  • Easy creation of prefixed class names
  • +
  • Caching of previously created class names for improved performance.
  • +
+
+ + + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + +
+

Properties

+ + +
+ + + + + +
+ + +
+

Methods

+ + +
+

getClassName

+ + +
+ (
    + +
  • + + + + +
  • + +
  • + + skipPrefix + +
  • + +
) +
+ + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + classnamemanager/js/classnamemanager.js:54 + +

+ + + + + +
+ +
+

Returns a class name prefixed with the the value of the +Y.config.classNamePrefix attribute + the provided strings. +Uses the Y.config.classNameDelimiter attribute to delimit the +provided strings. E.g. Y.ClassNameManager.getClassName('foo','bar'); // yui-foo-bar

+
+ + +
+

Parameters:

+ +
    + +
  • + + + + String + + + + +
    +

    classnameSection one or more classname sections to be joined

    +
    + + +
  • + +
  • + + skipPrefix + Boolean + + + + +
    +

    If set to true, the classname will not be prefixed with the default Y.config.classNameDelimiter value.

    +
    + + +
  • + +
+
+ + + + + +
+ + +
+ + + +
+

Properties

+ + +
+

classNameDelimiter

+ String + + + + + + + + + static + + +
+ + + +

+ + Defined in + + + + + classnamemanager/js/classnamemanager.js:36 + +

+ + + + +
+ +
+

Configuration property indicating the delimiter used to compose all CSS class names in +this YUI instance.

+
+ + +

Default: "-"

+ + + + + +
+ + +
+

classNamePrefix

+ String + + + + + + + + + static + + +
+ + + +

+ + Defined in + + + + + classnamemanager/js/classnamemanager.js:26 + +

+ + + + +
+ +
+

Configuration property indicating the prefix for all CSS class names in this YUI instance.

+
+ + +

Default: "yui"

+ + + + + +
+ + +
+ + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +