A nice and friendly checkbox. Notice the usage of <BaseFocusLoop> to loop focus through all the checkboxes. Use the color
prop to change the color of the checkbox.
نمایش کدمخفی کردن کد
vue
Here is an example using a boolean
value
نمایش کدمخفی کردن کد
vue
Use true-value
/false-value
to create a custom behavior
نمایش کدمخفی کردن کد
vue
You can create a static checkbox by omitting the v-model
(or model-value
)
نمایش کدمخفی کردن کد
vue
نام
نوع
classes
Optional CSS classes to apply to the wrapper, label, and input elements.
نمایش مثالمخفی کردن مثال
vue
false-value
The value to set when the component is unchecked.
نمایش مثالمخفی کردن مثال
vue
id
The form input identifier.
نمایش مثالمخفی کردن مثال
vue
true-value
The value to set when the component is checked.
نمایش مثالمخفی کردن مثال
vue
value
The value of the component.
نمایش مثالمخفی کردن مثال
vue