Ultralight  1.0.0
A fast, lightweight, HTML UI engine for native apps.
ultralight::LoadListener Class Reference

Interface for Load-related events. More...

#include <Listener.h>

Public Member Functions

virtual void OnBeginLoading (ultralight::View *caller)
 Called when the page begins loading new URL into main frame.
 
virtual void OnFinishLoading (ultralight::View *caller)
 Called when the page finishes loading URL into main frame.
 
virtual void OnUpdateHistory (ultralight::View *caller)
 Called when the history (back/forward state) is modified.
 
virtual void OnDOMReady (ultralight::View *caller)
 Called when all JavaScript has been parsed and the document is ready. More...
 

Detailed Description

Interface for Load-related events.

Note
For more info
See also
View::set_load_listener

Definition at line 150 of file Listener.h.

Member Function Documentation

◆ OnDOMReady()

virtual void ultralight::LoadListener::OnDOMReady ( ultralight::View caller)
inlinevirtual

Called when all JavaScript has been parsed and the document is ready.

This is the best time to make any initial JavaScript calls to your page.

Definition at line 173 of file Listener.h.


The documentation for this class was generated from the following file: