Cannot read property 'contentWindow' of null – iframe in ionic menu
Issue Here is my plunker: http://plnkr.co/edit/8SOkJeAG4Tctp4zLoAJ0?p=preview var iframe = document.getElementById(‘myIframe’); var iframediv = iframe.contentWindow.document; // canvas goes here iframediv.body.innerHTML +=…