Skip to content

Instantly share code, notes, and snippets.

@umairhm
Last active July 25, 2020 08:21
Show Gist options
  • Save umairhm/ad51a5deceed8322de8e3a3a21ae5322 to your computer and use it in GitHub Desktop.
Save umairhm/ad51a5deceed8322de8e3a3a21ae5322 to your computer and use it in GitHub Desktop.
<!-- Assuming that 'htmlElement' is a class property that returns a native HTML element -->
<!-- Assuming that 'elementRef' is a class property that returns an instance of ElementRef -->
<element-coercion
[elementOne]="htmlElement"
[elementTwo]="elementRef"
></element-coercion>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment