The <luna-include> component fetches and injects external HTML fragments into the DOM dynamically.
Paths
/lunadom/components/include/include.js Example
Dynamic Partial Loading
Fetch and inject external HTML fragments into the DOM seamlessly.
Fetching partial...
Customization
default - Default slot for content that will be displayed after loadingloading - Custom content to display while the remote resource is being fetchedsrc - The URL of the HTML file to include--luna-accent - Color of the default loading spinnerluna-load-start - Emitted when a load operation beginsluna-load - Emitted when the content has successfully loadedluna-error - Emitted when the content fails to loadreload() - Force reload the content