Web Components API Reference - v0.2.5
    Preparing search index...

    Class ModelElement

    The ModelElement interface provides properties and methods for manipulating <pc-model> elements. The ModelElement interface also inherits the properties and methods of the HTMLElement interface.

    Hierarchy (View Summary)

    Index

    Accessors

    Methods

    Accessors

    • get asset(): string

      Gets the id of the pc-asset to use for the model.

      Returns string

      The asset ID.

    • set asset(value: string): void

      Sets the id of the pc-asset to use for the model.

      Parameters

      • value: string

        The asset ID.

      Returns void

    Methods