Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <slot name="username"> : <user-card> #shadow-root <div> Name: <slot name="username"> <span slot="username">Jack</span> <span slot="username">Brown</span> </slot> </div> <div> Id: <slot name="id"></slot> </div> </user-card> </body> </html>