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

SplitButton

Expression Extends:

class SplitButton extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A Split Button component composed of an action and a trigger AnchorButton or Button. These elements should be marked with following attributes:

  • [coral-splitbutton-action] for the main action button.
  • [coral-splitbutton-trigger] for the trigger button.

See:

Example:

Markup
<coral-splitbutton></coral-splitbutton>
JS constructor
new Coral.SplitButton();

Static Member Summary

Static Public Members
public static

Returns SplitButton variants.

Member Summary

Public Members
public

The button's variant. See SplitButtonVariantEnum.

  • SplitButtonVariantEnum.DEFAULT by default.
  • reflected

Static Public Members

public static variant: SplitButtonVariantEnum: * source

Returns SplitButton variants.

Public Members

public variant: String source

The button's variant. See SplitButtonVariantEnum.

  • SplitButtonVariantEnum.DEFAULT by default.
  • reflected