id (string): カードのIDclass (string): カードのクラス名name (string): カードの名前style (string): カードのスタイルstyleReset (boolean): クラス名をリセットするかどうかtitle (string): カードのタイトルsubtitle (string): カードのサブタイトル
- bindingClass:
props.class, props.styleReset の値に基づいてクラス名を設定
<script setup lang="ts">
import { CardFlame } from '.revuekitz'
import 'revuekitz/dist/style.css'
</script>
<template>
<CardFlame
id="cardFlameId"
class="card-flame-class"
:style="'background-color: lightgray;'"
title="title"
subtitle="subtitle"
>
<p>Enter the content of the card here.</p>
</CardFlame>
</template>