ContentIslandEnvironment.SettingChanged 事件

定义

在此实例上更改设置时发生。

// Register
event_token SettingChanged(TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SettingChanged(event_token const* cookie) const;

// Revoke with event_revoker
ContentIslandEnvironment::SettingChanged_revoker SettingChanged(auto_revoke_t, TypedEventHandler<ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentIslandEnvironment,ContentEnvironmentSettingChangedEventArgs> SettingChanged;
function onSettingChanged(eventArgs) { /* Your code */ }
contentIslandEnvironment.addEventListener("settingchanged", onSettingChanged);
contentIslandEnvironment.removeEventListener("settingchanged", onSettingChanged);
- or -
contentIslandEnvironment.onsettingchanged = onSettingChanged;
Public Custom Event SettingChanged As TypedEventHandler(Of ContentIslandEnvironment, ContentEnvironmentSettingChangedEventArgs) 

事件类型

适用于