AppearanceModeWebName extension

Extension that provides the Web SDK string name for AppearanceMode values.

Used internally by the configuration builder when serialising NutrientViewConfiguration for the Nutrient Web SDK.

The Web SDK supports only 'DARK' and 'LIGHT' themes. AppearanceMode.night maps to 'DARK'; all other values map to 'LIGHT'.

on

Properties

webName String?

Available on AppearanceMode, provided by the AppearanceModeWebName extension

Returns the Web SDK theme string ('DARK' or 'LIGHT') for this mode.
no setter