<wheelora> 嵌入元件

用一段指令碼和一個 HTML 元素,把互動轉盤放進網站,不需要帳號。

快速開始:內嵌資料

載入 /embed/v1.js,並設定 title、options、選填的 weights 與 theme。

<script async src="https://wheelora.ai/embed/v1.js"></script>

<wheelora title="Friday Night Dinner" options="Pizza, Sushi, Tacos, Burgers, Salad" weights="1, 1, 1, 1, 0.2"></wheelora>

功能與優點

  • 用一段指令碼和一個 HTML 元素,把互動轉盤放進網站,不需要帳號。
  • 載入 /embed/v1.js,並設定 title、options、選填的 weights 與 theme。
  • 元件會配合手機與桌面容器,支援 minimal、playful、dark 與 elegant。
  • 用一段指令碼和一個 HTML 元素,把互動轉盤放進網站,不需要帳號。

支援的屬性

載入 /embed/v1.js,並設定 title、options、選填的 weights 與 theme。

  • title: <wheelora> 嵌入元件
  • options: 用一段指令碼和一個 HTML 元素,把互動轉盤放進網站,不需要帳號。
  • weights: 載入 /embed/v1.js,並設定 title、options、選填的 weights 與 theme。
  • theme: minimal, playful, dark, elegant

主題與樣式

元件會配合手機與桌面容器,支援 minimal、playful、dark 與 elegant。

<wheelora title="Dark Theme" options="One, Two, Three" theme="dark"></wheelora>
<wheelora title="Elegant Theme" options="Gold, Silver, Bronze" theme="elegant"></wheelora>
開啟 Wheelora