Feature request: "clickable" prop for QIcon #12236
-
|
Clickable QIcon can be used in QInput append and prepend. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
just give it |
Beta Was this translation helpful? Give feedback.
-
|
Thx for response. I am already using @click and cursor-pointer. However, I have difficulty with making hover effect exactly the same as in QInput's "clearable" icon. Consilder this sample: I know how to set QIcon's color and how to add hover effect. But imagine that after that I apply "dark" attribute (second input in my sample). Now imagine that I edit quasar color variables: It would be much more consistent to have "clickable" prop that would warant uniform behavior of my QIcon and QInput's "clearable" icon in all possible circumstances. |
Beta Was this translation helpful? Give feedback.
just give it
@clickevent and maybe add a classcursor-pointer/(a custom class of your own) to indicate that it's clickable when hovered.