1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 01:09:35 +05:30

(feat): added tooltips in flotingbar using popper.js and tippy.js

This commit is contained in:
2023-12-15 22:21:50 +05:30
parent eff59807a4
commit 42f865f543
10 changed files with 67 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
//--- controls tooltips and popover elements
tippy('#searchbar', {
content: "ALT + K",
theme: 'neosubhamoy',
animation: 'shift-away',
delay: 500,
touch: false
});
tippy('#sharebutton', {
content: "ALT + L",
theme: 'neosubhamoy',
animation: 'shift-away',
delay: 500,
touch: false
});
tippy('#closebutton', {
content: "ESC",
placement: 'right',
theme: 'neosubhamoy',
animation: 'shift-away',
delay: 500,
touch: false
});
tippy('#shareclosebutton', {
content: "ESC",
placement: 'right',
theme: 'neosubhamoy',
animation: 'shift-away',
delay: 500,
touch: false
});