You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -71,8 +71,8 @@ className | data-class | String | | extra custom class, can use !importan
71
71
insecure | null | Bool | true, false | Whether to inject the style header into the page dynamically (violates CSP style-src but is a convenient default)
72
72
border | data-border | Bool | true, false | Add one pixel white border
73
73
getContent | null | Func or Array | (dataTip) => {}, [(dataTip) => {}, Interval] | Generate the tip content dynamically
74
-
afterShow | null | Func | () => {} | Function that will be called after tooltip show
75
-
afterHide | null | Func | () => {} | Function that will be called after tooltip hide
74
+
afterShow | null | Func | (evt) => {} | Function that will be called after tooltip show, with event that triggered show
75
+
afterHide | null | Func | (evt) => {} | Function that will be called after tooltip hide, with event that triggered hide
76
76
disable | data-tip-disable | Bool | true, false | Disable the tooltip behaviour, default is false
77
77
scrollHide | data-scroll-hide | Bool | true, false | Hide the tooltip when scrolling, default is true
78
78
resizeHide | null | Bool | true, false | Hide the tooltip when resizing the window, default is true
0 commit comments