id
(string) - 要素のIDclass
(string) - 要素のクラスstyle
(string | object) - 要素のスタイルstyleReset
(boolean) - スタイルリセットフラグname
(string) - 要素の名前type
(string) - 要素のタイプ('button'
| 'reset'
| 'submit'
)isDisabled
(boolean)- 要素の有効化/無効化
- bindingClass:
props.class
, props.styleReset
の値に基づいてクラス名を設定 (Sets the class name based on props.class
and props.styleReset
)
<script setup lang="ts">
import { BasicButton } from 'revuekitz'
import 'revuekitz/dist/style.css'
</script>
<template>
<div>
<!-- BasicButtonの使用例 -->
<BasicButton
id="basicButtonId"
class="basic-button-class"
name="basic_button_name"
type="submit"
:style="{ color: 'white', backgroundColor: 'blue' }"
:styleReset="false"
:isDisabled="false"
>
BasicButton
</BasicButton>
</div>
</template>