init: function () {
//Get renderer. This method automatically gets added if you use a FLP Plugin template in WebIDE
var rendererPromise = this._getRenderer();
rendererPromise.then(function (oRenderer) {
this.oRenderer = oRenderer;
//Add Favicon
(function () {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = '/favicon.ico'; //Relative to host of FLP
document.getElementsByTagName('head')[0].appendChild(link);
})();
//Set Document Title
document.title = "My Slick Home";
}.bind(this));
},
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |