文字位置
文字位置機能を操作します。
uniweb.feature.textAlignEnable()
文字位置機能を有効にします。
textAlignEnable(type?: 'left' | 'right' | 'center' | 'justify'): void;
uniweb.feature.textAlignDisable()
文字位置機能を無効にします。
textAlignDisable(): void;
uniweb.feature.textAlignToggle()
文字位置機能の有効/無効を切り替えます。
textAlignToggle(type?: 'left' | 'right' | 'center' | 'justify'): void;
type
| type | 機能名 |
|---|---|
| left (default) | 左寄せ |
| right | 右寄せ |
| center | 中央揃え |
| justify | 均等 |