Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class YourUI extends UIElement {
- template () {
- return `<div class="your-ui"></div>`
- }
- }
- class MyUI extends UIElement {
- components () {
- return { YourUI }
- }
- template() {
- return `
- <div class='my-ui'>
- <YourUI />
- </div>
- `
- }
- }
Add Comment
Please, Sign In to add comment