mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
Document TouchArea
's enabled
property
I'm surprised this wasn't documented...
This commit is contained in:
parent
e074d05847
commit
30ed9da728
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ When not part of a layout, its width or height default to 100% of the parent ele
|
|||
|
||||
## Properties
|
||||
|
||||
### enabled
|
||||
<SlintProperty propName="enabled" typeName="bool" defaultValue="true">
|
||||
When disabled, the `TouchArea` doesn't recognize any touch or mouse events and they are
|
||||
passed through to elements underneath.
|
||||
</SlintProperty>
|
||||
|
||||
### has-hover
|
||||
<SlintProperty propName="has-hover" typeName="bool" propertyVisibility="out">
|
||||
Set to true when the mouse is over the `TouchArea` area.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue