* Remove final legacy dependencies from Header UI * Address @eliperelman comments * Move files for x-pack move
995 B
995 B
Home > kibana-plugin-public > ChromeStart > setBrand
ChromeStart.setBrand() method
Set the brand configuration.
Signature:
setBrand(brand: ChromeBrand): void;
Parameters
Parameter | Type | Description |
---|---|---|
brand | ChromeBrand |
Returns:
void
Remarks
Normally the logo
property will be rendered as the CSS background for the home link in the chrome navigation, but when the page is rendered in a small window the smallLogo
will be used and rendered at about 45px wide.
Example
chrome.setBrand({
logo: 'url(/plugins/app/logo.png) center no-repeat'
smallLogo: 'url(/plugins/app/logo-small.png) center no-repeat'
})