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

QuickActionsItem

Expression Extends:

class QuickActionsItem extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A QuickActions item component

See:

Example:

Markup
<coral-quickactions-item></coral-quickactions-item>
JS constructor
new Coral.QuickActions.Item();

Static Member Summary

Static Public Members
public static

Returns QuickActionsItem type options.

Member Summary

Public Members
public

content: *

null

public

When type is Coral.QuickActions.Item.type.ANCHOR, the href will be used for the anchor.

public

Specifies the name of the icon to be shown in the QuickActions Item.

public
public

The type of item that will be used.

Static Public Members

public static type: QuickActionsItemTypeEnum: * source

Returns QuickActionsItem type options.

Public Members

public content: * source

null

public href: String source

When type is Coral.QuickActions.Item.type.ANCHOR, the href will be used for the anchor.

  • "" by default.
  • reflected

Emit:

coral-quickactions-item:_hrefchanged

public icon: String source

Specifies the name of the icon to be shown in the QuickActions Item. See Icon for valid icon names.

  • "" by default.
  • reflected

Emit:

coral-quickactions-item:_iconchanged

public trackingElement: * source

Inherited from BaseComponent#trackingElement.

public type: String source

The type of item that will be used. Setting QuickActionsItemTypeEnum.ANCHOR will allow users to navigate using the quickactions proving the correct hypermedia to the users.

  • QuickActionsItemTypeEnum.BUTTON by default.
  • reflected