月ピッカーの id
を取得または設定します。
設定しない場合、id
は "igx-months-view-0"
値を持ちます。
<igx-months-view id="my-months-view"></igx-months-view>
let monthsViewId = this.monthsView.id;
IgxMonthsViewComponent
月ビューで選択が実行されるときにイベントを発生します。
IgxMonthsViewComponent
で date
プロパティへの参照を提供します。
<igx-months-view (selected)="onSelection($event)"></igx-months-view>
IgxMonthsViewComponent
月ビューの選択された日付を取得または設定します。 デフォルト値は現在の日付です。
<igx-months-view [date]="myDate"></igx-months-view>
let date = this.monthsView.date;
IgxMonthsViewComponent
月ビューの locale
を取得します。
デフォルト値は "en"
です。
let locale = this.monthsView.locale;
IgxMonthsViewComponent
月ビューの locale
を設定します。
有効な BCP 47 言語タグに設定します。
デフォルト値は "en"
です。
<igx-months-view [locale]="de"></igx-months-view>
IgxMonthsViewComponent
月ビューの月書式設定オプションを取得します。
let monthFormat = this.monthsView.monthFormat.
月ビューの月付書式設定オプションを設定します。
<igx-months-view> [monthFormat] = "short'"</igx-months-view>
IgxMonthsViewComponent
locale および monthFormat に基づいて ビューを描画するかどうかを取得または設定します。