boolean
boolean property type¶
The boolean
type is used to declare variables to store the Boolean values, true and false.
Kitsune expression will return True/False based on the place its used.
You can use boolean in the k-show
and k-hide
tags.
Example¶
coffeeshop(base class) language properties
Type | Name |
---|---|
str | name |
boolean | wifiAvailable |
1 2 3 4 5 | <!-- just use in the expression --> <div k-show="">Free Wifi available!</div> <!-- Display the value --> <div></div> |