Pular para o conteúdo principal

Branding

With this namespace, you can quickly provide methods to manipulate the tenant branding.

The namespace Branding provides to developers, methods to easily get and set a tenant branding.

//accessing to Branding methods
SW.Branding.{methodName}

get

Description

This method can be used to get the tenant branding.

Method(s)

1   declare function get(): BrandingDto;

Basic Usage

SW.Branding.get();

set

Description

This method can be used to set the tenant branding.

Method(s)

1   declare function set(brandingDto: BrandingDto): void;
ParameterTypeRequiredDefaultsDescription
urlbrandingDtotrueNew branding to set

Basic Usage

SW.Branding.set({
loginImage: {
url: 'loginImageURL',
style: 'width: 100px; heigth: 100px'
}
});