style: show
dojo.style.setShowing('Box', true)
dojo.style.setShowing('Box', false)
dojo.style.toggleShowing('Box')
dojo.style.show('Box')
dojo.style.hide('Box')
dojo.style.isShowing('Box')
dojo.style.setShowing(null, 'block')
dojo.style.isShowing(null)
Box
style: display (block element)
dojo.style.setDisplay('Box', true)
dojo.style.setDisplay('Box', false)
dojo.style.toggleDisplay('Box')
dojo.style.setDisplay('Box', 'block')
dojo.style.setDisplay('Box', 'inline')
dojo.style.isDisplayed('Box')
dojo.style.setDisplay(null, 'block')
dojo.style.isDisplayed(null)
Before
Box
After
style: display (inline element)
dojo.style.setDisplay('Span', true)
dojo.style.setDisplay('Span', false)
dojo.style.toggleDisplay('Span')
dojo.style.setDisplay('Span', 'block')
dojo.style.setDisplay('Span', 'inline')
dojo.style.isDisplayed('Span')
Before
Span
After
style: visibility
dojo.style.setVisibility('Box', true)
dojo.style.setVisibility('Box', false)
dojo.style.toggleVisibility('Box')
dojo.style.setVisibility('Box', '')
dojo.style.setVisibility('Box', 'none')
dojo.style.isVisible('Box')
dojo.style.setVisibility(null, 'block')
dojo.style.isVisible(null)
Before
Box
After