我需要一个弹出屏幕上点击的角度2.弹出式屏幕将包括不同的标签,并形成我试着用angular2模态,但它只有及时警觉,但不知道是否支持自定义表单创建。角2弹出窗体上单击
如果angular2模型支持自定义表单怎么做其它的东西,它支持去实现我的任务的任何其他包。
我的代码:
***users.component.html***
<input type="checkbox" name="scheduler2" (click)="helpWindow($event)">
***users.component.ts***
helpWindow(event) {
this.modal.alert()
.size('lg')
.isBlocking(true)
.keyboard(27)
.showClose(true)
.title('A simple Alert style modal window')
.body(`
<h4>Alert is a classic (title/body/footer) 1 button modal window that
does not block.</h4>
<b>Configuration:</b>
<ul>
<input type="text" name="text" />
</ul>`)
.open();
}
我已经开始使用它,它工作正常。我有一个小的查询如何减少或增加弹出窗口的宽度。 – suresh