interface HtmlRenderable implements Asset

Asset renderable as an HTML element.

Methods

Html
getImportElement()

Returns the HTML element used to import the asset (img, script, link rel="stylesheet", etc.).

Html
getPreloadElement()

Returns the HTML element used to preload the asset (link rel="preload" or rel="modulepreload").

Details

at line 16
Html getImportElement()

Returns the HTML element used to import the asset (img, script, link rel="stylesheet", etc.).

Return Value

Html

at line 21
Html getPreloadElement()

Returns the HTML element used to preload the asset (link rel="preload" or rel="modulepreload").

Return Value

Html