These are chat archives for angular/angular-2-ionic-2

11th
Sep 2016
Prateek Desai
@prtku1990
Sep 11 2016 13:26
is there anyway to launch the popover in center of the screen? like what happens in alert component?
basically want to show a form in popup or any other approach towards this?
Kyle Roach
@iRoachie
Sep 11 2016 13:32
Form like 2 fields ? Similar to a login form ?
Prateek Desai
@prtku1990
Sep 11 2016 13:32
not limited to 2 fields but can have less or more than this also.
Kyle Roach
@iRoachie
Sep 11 2016 13:34
Well you can use a prompt alert
If it's like a lot it might be better to use a modal
Prateek Desai
@prtku1990
Sep 11 2016 13:36
will by default it will come to the center of screen or through scss i will have to position it?
Kyle Roach
@iRoachie
Sep 11 2016 13:37
A prompt is a type of alert so it'll centre by it self instead
The modal is a full screen page that overlays over the current page
Prateek Desai
@prtku1990
Sep 11 2016 13:38
ohk thanks then i feel alert would be a better option
as i need to launch it at center of the screen everytime
Kyle Roach
@iRoachie
Sep 11 2016 13:41
Only this is that you can't style an alert