docs
Loading...
Searching...
No Matches
Triggers.h

Classes

struct  AttachOptions
 Options for Triggers::AttachTo(). More...
struct  InjectionRequest
 Information passed to a DOM triggers filter callback. More...
class  Triggers
 A set of DOM event listeners and lifecycle hooks that persists across page navigations. More...

Functions

constexpr AttachFlags operator| (AttachFlags a, AttachFlags b)
constexpr AttachFlags & operator|= (AttachFlags &a, AttachFlags b)
template<typename F>
void SetInjectionFilter (View *view, F &&filter)
 Set a View's DOM triggers filter with a C++ callable (the typed form of View::SetDOMTriggersInjectionFilter()).
void ClearInjectionFilter (View *view)
 Remove a View's DOM triggers filter, so the origin rules alone decide which pages get each set.

Variables

constexpr AttachFlags AllFrames = AttachFlags::AllFrames
 Add the listeners to subframes too (shorthand for AttachFlags::AllFrames).

Namespaces

namespace  ultralight
 Root namespace for every public Ultralight type, function, and enumeration.
namespace  ultralight::dom
 Direct C++ access to modify page elements and handle events.

Enumerations

enum class  AttachFlags : unsigned { None = 0 , AllFrames = 1u << 1 }
 The flags for Triggers::AttachTo() (the typed form of ULDOMTriggersAttachFlags). More...

Go to the source code of this file.