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.7.0

Yahoo! UI Library > datasource > YAHOO.util.DataSource

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.


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

Copyright © 2009 Yahoo! Inc. All rights reserved.