Add `hidden` attribute to DOM properties.