k-text-buttonコンポーネントはテキスト表示のみのボタンとして使用されます。
デモ

使い方
<template>
<k-text-button text="クリア" @click="onClick" />
</template>
<script>
export default {
methods: {
onClick() {
alert('クリック');
}
}
};
</script>
Attribute
| Name | Description | Type | Required |
|---|---|---|---|
| text | ボタン文字列. デフォルト値: ‘’ |
String | No |
Event
| Name | Description |
|---|---|
| click | ユーザーの操作によってボタンが押されたときに発生する。 |