Settings.setFeatureEnabled

Enables or disables a feature.

The current status of the feature can be determined with idwebkit_settings_get_feature_enabled. To reset a feature to its initial status, pass the value returned by idwebkit_feature_get_default_value as the enabled parameter.

class Settings
void
setFeatureEnabled

Parameters

feature webkit.feature.Feature

the feature to toggle.

enabled bool

whether the feature will be enabled.