I am new to ionic and have used the pop-up window component. I want to customize the title style or delete the title, but after I delete the title, the corresponding HTML element is still created. If I set this class to display:none , it should be possible, but it treats the symptoms rather than the root cause. Is there any other way to remove the title or modify the title style?
template and templateUrl can customize the template. You can take out the original template and change it, so that the popup-head can be removed from the DOM
It is not recommended to modify the original style directly, as it will affect the overall situation
I looked at the documentation and found that this doesn’t work. template and templateUrl can only replace the popup-body template
It’s a bit embarrassing
I think it’s quite easy to control its “popup-**” style and make it disappear