Class IgcIconButtonComponent

igc-icon-button

base - The wrapping element of the icon button.

icon - The icon element of the icon button.

Hierarchy

Hierarchy

  • IgcButtonBaseComponent
    • IgcIconButtonComponent

Properties

collection: string

The name of the icon collection.

download: string

Prompts to save the linked URL instead of navigating to it.

href: string

The URL the button points to.

mirrored: boolean = false

Whether to flip the icon button. Useful for RTL layouts.

name: string

The name of the icon.

rel: string

The relationship of the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types

target?:
    | "_blank"
    | "_parent"
    | "_self"
    | "_top"

Where to display the linked URL, as the name for a browsing context.

type: "reset" | "submit" | "button" = 'button'

The type of the button. Defaults to button.

variant: "flat" | "outlined" | "contained" = 'contained'

The visual variant of the icon button.

Accessors

  • get form(): null | HTMLFormElement
  • Returns the HTMLFormElement associated with this element.

    Returns null | HTMLFormElement

Methods