summaryrefslogtreecommitdiff
path: root/src/controls/TextField.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/TextField.qml')
-rw-r--r--src/controls/TextField.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml
index 903a6462..32b2d4fb 100644
--- a/src/controls/TextField.qml
+++ b/src/controls/TextField.qml
@@ -524,8 +524,11 @@ Control {
textInput.undo();
}
- /*! \internal */
- property alias __containsMouse: mouseArea.containsMouse
+ /*! \qmlproperty bool TextField::hovered
+
+ This property holds whether the control is being hovered.
+ */
+ readonly property alias hovered: mouseArea.containsMouse
/*! \internal */
property alias __contentHeight: textInput.contentHeight