Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 336 Bytes

20.02-if.md

File metadata and controls

14 lines (11 loc) · 336 Bytes
layout title label permalink nav_order parent
page
Using Condition in Web-Components
Condition :if
/usage-web-components/condition/
2
Usage

:if Directive

Conditionally display a tag and its descendants.

Example: <p :if="state.count < 5">Less than 5</p> will be displayed if the condition is met.