切換按鈕

自行管理開關狀態,並以 aria-pressed 表示是否選中的雙態按鈕。

lr-toggle

import '@aceshooting/lyra-ui/components/lr-toggle.js';

閱讀指南(英文)