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

    Class AssetElement

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

    Hierarchy

    Index

    Properties

    Accessors

    Properties

    asset: null | Asset = null

    The asset that is loaded.

    Accessors

    • get lazy(): boolean

      Gets whether the asset should be loaded lazily.

      Returns boolean

      The lazy loading flag.

    • set lazy(value: boolean): void

      Sets whether the asset should be loaded lazily.

      Parameters

      • value: boolean

        The lazy loading flag.

      Returns void