|
AjaxApplicationDesign
Ajax Application Design (Issue 13)
YAHOO.namespace("my"); YAHOO.my.events.onEntryListReturn = function(oData) {
YAHOO.log("entryList Event");
YAHOO.my.events.fireEvent("entryList", oData);
} YAHOO.my.PhoneBook = function() {
var phonebook = object(FlevBase);
phonebook.oColumnHeaders = [
// ... var FlevBase = function() {
// define private members (none)
// return public members
return {
oColumnHeaders: null,
oConfigs: null,
// ...
load: function(oData,oSelf) {
// ...
oSelf.oColumnSet = new
YAHOO.widget.ColumnSet(oSelf.oColumnHeaders);The PhoneBook example application uses this module/events/singletons approach to deploy a FLEV widget. |
► Sign in to add a comment