open-consul/ui/packages/consul-ui/app/components/custom-element/index.hbs

12 lines
251 B
Handlebars

<ShadowHost as |shadow|>
{{yield
(hash
root=(fn this.setHost (fn shadow.host))
connect=(fn this.setHost (fn shadow.host))
Template=shadow.Template
disconnect=(fn this.disconnect)
)
this.element
}}
</ShadowHost>