Closed zhixXiang closed 2 years ago
you should bind the prop, you are sending text toggle
<tippy :hideOnClick="toggle"></tippy>
Thank you for your response. I know, but I want use toggle feature, not set it to true of false, so I sending text toggle. The document says: To prevent clicks outside of the tippy from hiding it but still allow it to be toggled, use the string "toggle"
How can I use component toggle without warning?
you should bind the prop, you are sending text
toggle
<tippy :hideOnClick="toggle"></tippy>
Thank you for your response. I know, but I want use toggle feature, not set it to true of false, so I sending text toggle. The document says: To prevent clicks outside of the tippy from hiding it but still allow it to be toggled, use the string "toggle"
How can I use component toggle without warning?
you should bind the prop, you are sending text
toggle
<tippy :hideOnClick="toggle"></tippy>
ah sry, will fix by tmrw.
@KABBOUCHI sorry sir, is it fixed?
@zhixXiang pushed a new release v6.0.0-alpha.57
this is the new docs https://vue-tippy.netlify.app/, I think u took a screenshot for the old vue-tippy
docs version
Thank you very much!
[Vue warn]: Invalid prop: type check failed for prop "hideOnClick". Expected Boolean, got String with value "toggle".
The toggle worked, but there is a warning in console.