Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
GAS and GBC
>
Customizing the Chrome Bar Widget
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Customizing the Chrome Bar Widget (Read 6085 times)
Sean H.
Posts: 29
Customizing the Chrome Bar Widget
«
on:
January 28, 2022, 02:21:05 pm »
Hello everyone,
I'm trying to customize the ChromeBarWidget for a GBC Project but I don't fully understand how the customizations work without using the MyMainContainerWidget.
I've added the two required files to the
customization/project/js
directory
MyChromeBarWidget.js
"use strict";
modulum('MyChromeBarWidget', ['ChromeBarWidget', 'WidgetFactory'],
function(context, cls) {
cls.MyChromeBarWidget = context.oo.Class(cls.ChromeBarWidget, function($super) {
return {
__name: "MyChromeBarWidget"
};
});
}
);
MyChromeBarWidget.tpl.html
<header class="mt-toolbar noselect">
<p>Did Anything Change</p>
</header>
But the ChromeBarWidget seems to be the same, I was expecting the customized HTML to replace the original HTML but am I misunderstanding how this works or missing a step?
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...