search

Home  >  Q&A  >  body text

angular.js - ionic pop-up style

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?

为情所困为情所困2809 days ago649

reply all(2)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-15 17:15:15

    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

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-15 17:15:15

    I think it’s quite easy to control its “popup-**” style and make it disappear

    reply
    0
  • Cancelreply