メインコンテンツまでスキップ
バージョン: v2.0

インターフェイス: Theme

定義: plugins/utils/src/theme.ts:38

プロパティ​

colors​

colors: ColorTheme;

定義: plugins/utils/src/theme.ts:39


confirm​

confirm: object;

定義: plugins/utils/src/theme.ts:40

no​

no: ButtonTheme;

timeout​

timeout: DurationInput;

応答を待つ時間。

yes​

yes: ButtonTheme;

duration​

duration: object;

定義: plugins/utils/src/theme.ts:64

clock​

clock: FormatDurationOptions;

formatDuration の時計表記(区切り・ゼロ埋め)。

max​

max: number;

既定で出す単位の数。

separator​

separator: string;

単位のあいだに挟む文字列。

units​

units: object;

humanizeDuration が使う単位。日本語にするならここ。

units.d​
d: string;
units.h​
h: string;
units.m​
m: string;
units.ms​
ms: string;
units.s​
s: string;

pagination​

pagination: object;

定義: plugins/utils/src/theme.ts:46

counter​

counter: (current, total) => string;

中央に出す現在位置の文字列。

パラメータ​
current​

number

total​

number

戻り値​

string

counterStyle​

counterStyle: ButtonStyle;

first​

first: ButtonTheme;

last​

last: ButtonTheme;

next​

next: ButtonTheme;

prev​

prev: ButtonTheme;

showCounter​

showCounter: boolean;

現在位置のボタンを出すか。

timeout​

timeout: DurationInput;

無操作でボタンを無効化するまでの時間。


progress​

progress: object;

定義: plugins/utils/src/theme.ts:59

empty​

empty: string;

filled​

filled: string;

width​

width: number;

text​

text: object;

定義: plugins/utils/src/theme.ts:74

ellipsis​

ellipsis: string;

truncate が末尾に付ける文字列。