show and hide retain the same DOM and input drafts. dom-add and dom-remove dispose inactive content; returning creates fresh controls. Boolean is="true" is typed, while other literal comparisons are strings.

Published status matched.

show

hide

dom-add

dom-remove