內容簡介
總結:這個WordPress外掛將Lenis library (由darkroom.engineering製作) 加入到你的頁面中。只需啟用插件,即可將這個庫添加到你的頁面。
問題與答案:
1. 這個WordPress外掛的功能是什麼?
- 答:將Lenis library 加入到你的WordPress頁面中。
2. 使用這個外掛的步驟是什麼?
- 答:只需啟用插件,即可將Lenis library 添加到你的頁面。
3. 誰是Lenis library的製作者?
- 答:Lenis library是由darkroom.engineering所製作。
4. 可以在哪裡找到Lenis library的相關資訊?
- 答:可以在以下網址找到Lenis library的相關資訊:https://github.com/darkroomengineering。
外掛標籤
開發者團隊
原文外掛簡介
Adds the Lenis library (by darkroom.engineering) to your WordPress page. Simply enable the plugin and it will add the library to your page.
You can use a function ‘smoothScrollLenisCallback(event)’ in your custom code that will be called by the Lenis scroll event.
Note: if you have popup with scrolling content you’ll need to add this attribute data-lenis-prevent to the popup.
Credits:
– Lenis library: https://github.com/darkroomengineering
