this.ime.hidden = true would make it display: none. I changed it to using CSS.