Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ionic3 Renderer2 createElement with specified Namespace not working

$
0
0

@jpqueau wrote:

constructor(render: Renderer2) {
this.element = this.render.createElement('circle','http://www.w3.org/2000/svg');
}
when we inspect the element the property namespaceURI is null
workaround: this.element = document.createElementNS( 'http://www.w3.org/2000/svg' , 'circle' ) works perfect

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>