angular - Retrieve the HTML from an imported component -
is there way retrieve html imported component in ionic2/angular2?
so, example:
import {a} '../../components/a/a'; console.log(a.html());
something similar - there no html method attached component here i'm after similar.
i've never done that, if had it, it'd
import { } './a'; import { viewchild } '@angular/core'; // ... @viewchild('a') a: a;
then guess, in variable, retrieve html.
Comments
Post a Comment