Reference Source
import {Banner} from '@adobe/coral-spectrum'
public class | source

Banner

Expression Extends:

class Banner extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A Banner component

See:

Example:

Markup
<coral-banner></coral-banner>
JS constructor
new Coral.Banner();

Static Member Summary

Static Public Members
public static

Returns Banner variants.

Member Summary

Public Members
public

The banner's content.

  • content-zone

public

The banner's header.

  • content-zone

public

The banner variant style to use.

Static Public Members

public static variant: BannerVariantEnum: * source

Returns Banner variants.

Public Members

public content: BannerContent source

The banner's content.

  • content-zone

public header: BannerHeader source

The banner's header.

  • content-zone

public variant: String source

The banner variant style to use. See BannerVariantEnum.

  • BannerVariantEnum.INFO by default.
  • reflected