Piman
  • Piman 無障礙網頁前端 UI 框架
  • 關於 Piman
  • 常見問答
  • Vue3 版本
    • 設計系統
  • Vue2 版本
    • 設計系統
    • 快速開始
    • Accordion
    • Breadcrumb
    • Buttons
    • Cards
    • Checkbox
    • Dialog
    • Dropdown
    • Form
    • Input
    • Message
    • Pagination
    • Popover
    • Radio
    • Select
    • Switch
    • Tabs
    • Tooltip
    • Tree
  • 更新日誌
  • 成為貢獻者,一起開發 Piman
    • Vue2
      • i18n
      • CSS & SCSS
      • Update
      • Develope Component
Powered by GitBook
On this page
  • 基本使用
  • 禁用
  • 屬性
  • Demo

Was this helpful?

Export as PDF
  1. Vue2 版本

Radio

介紹使用 Radio 選項按鈕元件

PreviousPopoverNextSelect

Last updated 1 year ago

Was this helpful?

Radio 選項按鈕,通常用於表單之中,同一系列中的選項按鈕只能選取其中一個成為回答。

基本使用

<bpa-radio name="example-name" value="1" v-model="example-data">Radio</bpa-radio>

禁用

<bpa-radio name="example-name" value="1" v-model="example-data" disabled>Radio</bpa-radio>

屬性

Name
Value
Type
Default
Required
Note

id

String

random

name

String

disabled

Boolean

value

String

model

String

Demo

Radio 介紹示意圖