Last active
August 23, 2022 11:07
-
-
Save marcusig/e11892cdf341981dd307156e1ed8e290 to your computer and use it in GitHub Desktop.
[configurator] Change tooltip duration / delay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change the tooltip. See the available options on https://atomiks.github.io/tippyjs/v6/all-props/#duration | |
wp.hooks.addFilter( 'PC.fe.tooltip.options', 'myDomain', function( options ) { | |
options.duration = [100, 400]; | |
return options; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment