File: example/example.load-an-addon.js

Recommend this page to a friend!
  Classes of Till Wehowski   µ.Flow   example/example.load-an-addon.js   Download  
File: example/example.load-an-addon.js
Role: Example script
Content type: text/plain
Description: Example script
Class: µ.Flow
General purpose library of objects
Author: By
Last change:
Date: 9 years ago
Size: 559 bytes
 

Contents

Class file image Download
/* * * Load an WebfanDesktop app/modul . function * * $.WebfanDesktop.go(app, mod); * */ /* * * Example: Loads desktop framework and then the function "useraccount" of modul "system" * */ var _application = 'system'; var _modul = 'useraccount'; $(document).ready(function() { (function($){ try{ $.WebfanDesktop({ modules : [ function(){ $.WebfanDesktop.go(_application, _modul); } ] }); }catch(err){ console.error(err); } })(jQuery); });