Skip to main content

ArkWeb_OnComponentCallback

Type Alias ArkWeb_OnComponentCallback 

Source
pub type ArkWeb_OnComponentCallback = Option<unsafe extern "C" fn(webTag: *const c_char, userData: *mut c_void)>;
Expand description

@brief Defines the component callback of the native ArkWeb.

@since 12

Aliased Type§

pub enum ArkWeb_OnComponentCallback {
    None,
    Some(unsafe extern "C" fn(*const i8, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *mut c_void))

Some value of type T.