This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| lit-it-up [2026/04/04 11:38] – admin | lit-it-up [2026/04/04 12:05] (current) – admin | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| customElements.define(' | customElements.define(' | ||
| + | </ | ||
| + | |||
| + | ====== Load the WebComponent ====== | ||
| + | |||
| + | |||
| + | Load a single component: | ||
| + | |||
| + | <code php> | ||
| + | $this-> | ||
| + | </ | ||
| + | |||
| + | Load multiple components with a single entry point: | ||
| + | <code php> | ||
| + | $this-> | ||
| </ | </ | ||