/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('scrollview-list', function (Y, NAME) { /** * Provides a plugin, which adds support for a scroll indicator to ScrollView instances * * @module scrollview-list */ var getCN = Y.ClassNameManager.getClassName, SCROLLVIEW = 'scrollview', LIST_CLASS = getCN(SCROLLVIEW, 'list'), ITEM_CLASS = getCN(SCROLLVIEW, 'item'), CONTENT_BOX = "contentBox", HOST = "host"; /** * ScrollView plugin that adds class names to immediate descendant "
  • " to * allow for easier styling through CSS * * @class ScrollViewList * @namespace Plugin * @extends Plugin.Base * @constructor */ function ListPlugin() { ListPlugin.superclass.constructor.apply(this, arguments); } /** * The identity of the plugin * * @property NAME * @type String * @default 'pluginList' * @static */ ListPlugin.NAME = 'pluginList'; /** * The namespace on which the plugin will reside. * * @property NS * @type String * @default 'list' * @static */ ListPlugin.NS = 'list'; /** * The default attribute configuration for the plugin * * @property ATTRS * @type Object * @static */ ListPlugin.ATTRS = { /** * Specifies whether the list elements (the immediate