Basic Usage
Import an external HTML snippets.
<p>I am html</p>
<k-import src="import-me.html"></k-import>
<k-import src="import-me.html" rendered="true">
<p>I am html</p>
</k-import>
JavaScript Reference
Constructor
Extends Component
new Import()
Requirements
Properties
src: string
The source URL of the HTML snippet to import. Syncs to src attribute.
Methods
load(): Promise
Loads the HTML snippet from the specified source URL.