angular.js - ionic 弹窗样式
为情所困
为情所困 2017-05-15 17:13:15
0
2
585

刚接触ionic,用了弹窗这个组件,我想自定义title样式或者删除title,但是我删除了title后,html相对应的元素还是被创建出来了,如果设置这个类为display:none,应该可以,但是治标不治本,有没有什么其他办法去掉title或者修改title的样式?

为情所困
为情所困

reply all(2)
过去多啦不再A梦

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!