Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
doInit : function(component, event, helper) {
console.log('window object -->'+window.toString());
console.log('document object -->'+document.toString());
var divElement = document.getElementById("testClass");
var liButton = component.find("libutton");
console.log('liButton--> '+liButton);
console.log('div element -->'+divElement.toString());
console.log('inner html -->'+divElement.parentNode.innerHTML);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.