diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui3.0.0/api/ClassNameManager.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3.0.0/api/ClassNameManager.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,276 @@ + + + + + API: classnamemanager ClassNameManager (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

classnamemanager  3.0.0

+ Yahoo! UI Library + > classnamemanager + > ClassNameManager + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +

+ + + static + + Class ClassNameManager + + + +

+ + + + + +
+ A singleton class providing: +
    +
  • Easy creation of prefixed class names
  • +
  • Caching of previously created class names for improved performance.
  • +
+
+ + +
+
+

Properties

+
+
+

Y.config.classNameDelimiter + - static {String} +

+
+
+ Configuration property indicating the delimiter used to compose all CSS class names in +this YUI instance. +
+
+ + +
+ Default Value: "-" +
+ + +
+
+
+

Y.config.classNamePrefix + - static {String} +

+
+
+ Configuration property indicating the prefix for all CSS class names in this YUI instance. +
+
+ + +
+ Default Value: "yui" +
+ + +
+
+
+
+ +
+ +
+
+

Methods

+
+
+

+ getClassName

+
+ + + + + void + getClassName + ( + + + + + + + ) + + +
+ 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> + + one or more classname bits to be joined and prefixed +
+
+ + + + + +
+ +
+
+
+
+
+ +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +