blockly > Theme > setComponentStyle
Theme.setComponentStyle() メソッド
スタイル値を使用して、特定の Blockly UI コンポーネントを構成します。
署名:
setComponentStyle(componentName: string, styleValue: any): void;
パラメータ
パラメータ | 種類 | 説明 |
---|---|---|
componentName | string | コンポーネントの名前。 |
styleValue | 任意 | スタイルの値。 |
戻り値:
void