YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Yahoo! UI Library

DataSource Utility  2.8.2r1

Yahoo! UI Library > datasource > YAHOO.util.DataSource
Search:
 
Filters

Class YAHOO.util.DataSource

Factory class for creating a BaseDataSource subclass instance. The sublcass is determined by oLiveData's type, unless the dataType config is explicitly passed in.

Constructor

YAHOO.util.DataSource ( oLiveData , oConfigs )
Parameters:
oLiveData <HTMLElement> Pointer to live data.
oConfigs <object> (optional) Object literal of configuration values.

Copyright © 2010 Yahoo! Inc. All rights reserved.