9 Matching Annotations
- Jun 2021
-
github.com github.com
-
You could also opt to extend your Rails configuration object: Envy.init use: MyApp::Application.config MyApp::Application.config.my_variable # => ...
-
- Jan 2021
-
atomiks.github.io atomiks.github.ioFAQ1
-
Can I use the title attribute?Yes. The content prop can be a function that receives the reference element as an argument and returns a string or element.tippy('button', { content(reference) { const title = reference.getAttribute('title'); reference.removeAttribute('title'); return title; }, });The title attribute should be removed once you have its content so the browser's default tooltip isn't displayed along with the tippy.
-
-
svelte.dev svelte.dev
-
It must be called during the component's initialisation (but doesn't need to live inside the component; it can be called from an external module).
-
-
github.com github.com
-
Headless: With React's DOM rendering for improved usage with CSS-in-JS and spring libraries. If you want greater control over your poppers to integrate fully with design systems, this is for you.
-
-
atomiks.github.io atomiks.github.ioThemes1
-
atomiks.github.io atomiks.github.io
-
We can make content a function that receives the reference element (button in this case) and returns template content:
-
You can pass the element itself, which is useful for keeping event listeners attached (or when a framework is controlling elements inside):
-
Allows you to separate the tippy's positioning from its trigger source.
-
-
material.io material.io
-
Sets whether the menu surface should open and close without animation when the open/close methods are called.
-