Where is the addInput() method of Alert

#1

I’m migrating my ionic-v3 code to ionic-v4 and I’m not able to find some methods of Alert and Loading that I use in ionic-v3 like alert.addInput() and loader.setContent(). How can I use this methods on ionic-v4?

#2

you can try following

await alertctrl.inputs.push({
label:abc,

})