298298 }
299299 }
300300 },
301+ "positionSettings" : {
302+ "getter" : {
303+ "comment" : {
304+ "shortText" : [
305+ " ダイアログで使用される位置とアニメーション設定を取得します。" ,
306+ " ```typescript" ,
307+ " @ViewChild('alert', { static: true }) public alert: IgxDialogComponent;" ,
308+ " let currentPosition: PositionSettings = this.alert.positionSettings" ,
309+ " ```"
310+ ]
311+ }
312+ },
313+ "setter" : {
314+ "comment" : {
315+ "shortText" : [
316+ " ダイアログで使用される位置とアニメーション設定を設定します。" ,
317+ " ```typescript" ,
318+ " import { slideInLeft, slideOutRight } from 'igniteui-angular';" ,
319+ " ..." ,
320+ " @ViewChild('alert', { static: true }) public alert: IgxDialogComponent;" ,
321+ " public newPositionSettings: PositionSettings = {" ,
322+ " openAnimation: useAnimation(slideInTop, { params: { duration: '2000ms' } })," ,
323+ " closeAnimation: useAnimation(slideOutBottom, { params: { duration: '2000ms'} })," ,
324+ " horizontalDirection: HorizontalAlignment.Left," ,
325+ " verticalDirection: VerticalAlignment.Middle," ,
326+ " horizontalStartPoint: HorizontalAlignment.Left," ,
327+ " verticalStartPoint: VerticalAlignment.Middle," ,
328+ " minSize: { height: 100, width: 100 }" ,
329+ " };" ,
330+ " this.alert.positionSettings = this.newPositionSettings;" ,
331+ " ```"
332+ ]
333+ }
334+ }
335+ },
301336 "state" : {
302337 "getter" : {
303338 "comment" : {
364399 }
365400 }
366401 }
367- }
402+ }
0 commit comments