Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/decorators"

Index

Type aliases

Constructor

Constructor: object

Type declaration

Functions

Const customElement

  • customElement(tagName: string): (Anonymous function)
  • Class decorator factory that defines the decorated class as a custom element.

    Parameters

    • tagName: string

      the name of the custom element to define

    Returns (Anonymous function)

Const eventOptions

  • eventOptions(options: AddEventListenerOptions): any

property

  • A property decorator which creates a LitElement property which reflects a corresponding attribute value. A PropertyDeclaration may optionally be supplied to configure property features.

    exportdecorateditems

    Parameters

    Returns (Anonymous function)

query

  • query(selector: string): (Anonymous function)
  • A property decorator that converts a class property into a getter that executes a querySelector on the element's renderRoot.

    exportdecorateditems

    Parameters

    • selector: string

    Returns (Anonymous function)

queryAll

  • queryAll(selector: string): (Anonymous function)
  • A property decorator that converts a class property into a getter that executes a querySelectorAll on the element's renderRoot.

    exportdecorateditems

    Parameters

    • selector: string

    Returns (Anonymous function)

Generated using TypeDoc