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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -