Ionic3 Renderer2 createElement with specified Namespace not working


#1

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