p-if
p-if
is used for toggling elements on the page, similarly to p-show
, however it completely adds and removes the element it’s applied to rather than just changing its CSS display property to “none”.
Contents...
p-if
is used for toggling elements on the page, similarly to p-show
, however it completely adds and removes the element it’s applied to rather than just changing its CSS display property to “none”.