SnackBar QML Type
SnackBar provides a brief feedback about an operation. More...
Import Statement: | import Fluid.Controls 1.1 |
Properties
Signals
- clicked()
Methods
Detailed Description
Page { title: qsTr("Send a message") Button { anchors.centerIn: parent text: qsTr("Send Message") onClicked: snackBar.open(qsTr("Message sent")) } SnackBar { id: snackBar } }
SnackBar provides a brief feedback about an operation through a message at the bottom of the screen.
It contains a single line of text directly related to the operation performed. There can be a text action, but no icons.
For more information you can read the Material Design guidelines.
Property Documentation
Whether the bar should take full screen width. The default depends on the device: full width only on phones and tablets.