Extend Js Function Is Not Invoked through afterRender on Pageload
(Doc ID 2603767.1)
Last updated on NOVEMBER 01, 2019
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
If you need to manage some UI elements after the page is rendered that cannot be done in onLoad because the DOM elements may not be ready yet, you may want to make use of Knockout afterRender. For instance, you may want to collapse the footer menu on mobile device that has width less than 768 while expand the menu on wider device as follows:
This may not work as expected.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document