Help Center/
Huawei Cloud Astro Zero/
FAQs/
Application Frontend Development/
How Do I Run a Logic Segment After All Widgets Have Loaded on an Advanced Page?
Updated on 2025-03-20 GMT+08:00
How Do I Run a Logic Segment After All Widgets Have Loaded on an Advanced Page?
Description
During advanced page development, how can I run a logic segment after all widgets have loaded?
Solution
Bind the readerPageWidgetReady event. The sample code is as follows:
$(document).bind('readerPageWidgetReady', function(){ // Run the related logic. });
Parent topic: Application Frontend Development
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot