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

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -