cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Unable to get Notimoo plugin working :( #126

Open scramatte opened 13 years ago

scramatte commented 13 years ago

Hello,

I'm unable to get working Notimoo plugin with the latest MUI (I'm using latest snapshot)

var desktop = {
                        initialize : function(){
                                MUI.load(['Notimoo']);

                                MUI.create({
                                        'control':'MUI.Desktop',
                                        'id':'desktop',
                                        'taskbar': true,
                                        'content': [
                                                {'name':'content'},
                                                {'name': 'taskbar'}
                                        ],
                                        'onDrawEnd': function() {
                                                var notificationManager = new Notimoo();

                                                notificationMananger.show({
                                                        title: 'Mensaje',
                                                        message: 'Welcome'
                                                });
                                        }
                                });

                        }
                }

                window.addEvent('load', desktop.initialize );
mui-org commented 12 years ago

It was added and not finished. I am working through the main demo now, and will add this to the list.