-
I know there is a hideCheckmark prop, but I was trying to activate a function when the checkmark appears: ` console.log(isVisibleByClassName("atcb-checkmark")) Is there a current way to do that or is it something that can be implemented? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
You could observe the atcb-last-event attribute at the host element (
<add-to-calendar-button>
). When it turns to "success:buttonID", that's when we show the checkmark."buttonID" will be the generated ID of the button. Usually atcb-btn-1.