Skip to content

Instantly share code, notes, and snippets.

@umairhm
Created July 25, 2020 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umairhm/56897f692c237ea5116bd6890d1e2237 to your computer and use it in GitHub Desktop.
Save umairhm/56897f692c237ea5116bd6890d1e2237 to your computer and use it in GitHub Desktop.
import { Component, ElementRef, Input } from '@angular/core';
@Component({
selector: 'element-coercion',
template: `...`
})
export class ElementCoercionComponent {
@Input() elementOne: Element | ElementRef;
@Input() elementTwo: Element | ElementRef;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment