docs
Loading...
Searching...
No Matches
ULDOMTriggersInjectionRequest

#include <Ultralight/CAPI/CAPI_DOMTriggers.h>

Overview

Details of a page passed to a View's DOM triggers filter (see ULDOMTriggersInjectionFilterCallback).

New members may be added at the end in later versions, so don't create or copy this struct yourself.

Public Attributes

ULView view
 The View loading the page.
ULDOMTriggers triggers
 The set of DOM listeners being decided on.
const char * origin
 The page's origin, serialized (eg, "https://example.com" or "file://").
bool is_main_frame
 Whether or not the page is in the View's main frame.
bool rules_allow
 Whether or not the origin rules allow the page.

Member Data Documentation

◆ is_main_frame

bool is_main_frame

Whether or not the page is in the View's main frame.

◆ origin

const char* origin

The page's origin, serialized (eg, "https://example.com" or "file://").

Opaque origins serialize as "null".

◆ rules_allow

bool rules_allow

Whether or not the origin rules allow the page.

◆ triggers

ULDOMTriggers triggers

The set of DOM listeners being decided on.

It's the handle ulCreateDOMTriggers() returned, so you can compare it with yours. It's valid only during the callback (call ulCreateDOMTriggersBorrowedRef() to keep it).

◆ view

ULView view

The View loading the page.


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