Where can i find AlertController class methods?

Hi all, I can’t find methods like “addInput” for the AlertController.

I’m using it in my code and it works but it’s not documented.

Here it says

“Otherwise the alert’s instance has methods to add options, such as setTitle() or addButton().”

Can you help me to find all these available methods?

Thank you in advance.


I would dive into the alertcontroller’s code as found in node_modules or github



Thank you @Tommertom, found it but it’s hard to get all methods and options.

In particular I’d like to know which kind of input element can i pass as an option: I see here that I can use radio, checkbox, number and so on but I’d like to find a complete list of parameters… I’ll search for them in the code repo.



Also take a look at https://github.com/ionic-team/ionic-preview-app

It has all examples in it