search

Home  >  Q&A  >  body text

angular.js - angular2 dynamic display and hidden component problem

That’s it, I created some components dynamically through code

Then I saved these created components and wanted to hide and show them on the interface at any time

If you create it directly, it can be displayed on the interface, but now there is a demand. These dynamic components can be removed and inserted on the interface at any time, but I don’t want to remove or regenerate the components every time. Now that I have saved the previously created components, is there any way to dynamically insert these components directly into the interface

天蓬老师天蓬老师2821 days ago594

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-15 17:11:28

    Controlled with css

    reply
    0
  • Cancelreply