サイトアイコン INFRAGISTICS ナレッジ ベース

IgxTimePicker のフォーマット方法

IgxTimePicker では、inputFormat プロパティを利用することで値のフォーマットを行うことができます。

例:時分を表示する

<igx-time-picker #picker mode="dialog" [inputFormat]="'HH:mm'" [value]="today">
    <label igxLabel>Time</label>
</igx-time-picker>

サンプル

https://stackblitz.com/edit/github-wiknme?embed=1&file=src/app/timepicker-styling/timepicker-styling.component.html&hideExplorer=1&view=preview

実行結果

モバイルバージョンを終了