HTML slot — Type Overflow Developer Docs
HTML slot — Type Overflow Developer Docs
Regular
price
189.00 ₹ INR
Regular
price
Sale
price
189.00 ₹ INR
Unit price
/
per
element slot Dan elements slot machine
View full details
An interesting way to use custom element slots In this case, the img slot=icon> will be slotted into the named slot slot name
The oj-bind-template-slot element is used inside a composite View as a placeholder for stamped child DOM and is a declarative way to define a template slot Elements aren't limited to a single slot If you want to provide multiple slots, you can do that through named slots
obor slot The slot > element is a placeholder for external HTML content, allowing you to inject child elements from other files into your component template Use name , not id , to select slots Note that a slot 's id attribute has no effect! render