內容簡介
總結:
Toggle Anything 外掛允許您透過使用者互動來控制頁面上其他區塊的可見性。一個常見的例子是在價格頁面上,使用者可以在月租和年租訂閱價格之間切換。這個外掛讓您可以使用核心區塊設計自己的價格表,然後當切換時控制哪些項目可見或隱藏。
問題與答案:
1. 可以透過 Toggle Anything 外掛控制哪些內容在頁面上的可見性?
Toggle Anything 外掛可以控制頁面上的任何區塊元素的可見性。
2. 在哪種情況下不需要區塊嵌套即可使用 Toggle Anything 外掛?
使用 Toggle Anything 外掛時,不需要區塊嵌套即可使用。
3. Toggle Anything 外掛是否支援設置預設的切換狀態?
是的,Toggle Anything 外掛支援設置預設的切換狀態。
4. 使用 Toggle Anything 外掛時,是否能夠自訂「開啟」和「關閉」狀態的類名?
是的,使用者可以自訂「開啟」和「關閉」狀態的類名。
5. Toggle Anything 外掛是否支援多個切換在同一頁面上?
是的,Toggle Anything 外掛支援在同一頁面上使用多個切換。
6. 是否可以在 Toggle Anything 外掛中加入文字在開啟和關閉位置?
是的,Toggle Anything 外掛支援在開啟和關閉位置加入文字。
7. 是否可以針對每個切換/開關元件輕鬆自訂 CSS?
是的,可以輕鬆為每個切換/開關元件添加自定義 CSS。
外掛標籤
開發者團隊
原文外掛簡介
The Toggle Anything block allows you to control visibility of other blocks on the page via user interaction.
A common example is a pricing page where a user can toggle between monthly vs yearly subscription pricing. With this plugin allows you to design your own pricing tables using core blocks, then control the which items are visible or hidden when the switch is toggled.
Features
Toggle visibility of any element on the page. Does not need to be a nested block.
Set a default toggle state.
Choose your own “On” and “Off” state class names.
Non-Javascript friendly. Default state content displays, toggle is hidden.
Additional classes to show or hide other related components on non-Javascript browsers.
Multiple toggles allowed on the same page.
Multiple design configurations for each toggle.
Option for adding text in on/off positions.
Easy Custom CSS additions for each toggle/switch component.
