Reloading an Element After Data Is Loaded in Polymer

前端 未结 2 765
孤城傲影
孤城傲影 2021-01-20 08:09

I am building an app with Polymer. In my app, a user logs into the app. When they login, I am trying to show their orders. They can then choose an order and view the order d

2条回答
  •  情歌与酒
    2021-01-20 08:59

    Once the user login is complete you should run generateRequst() on the iron-ajax elemement which gets orders from the backend. You can do it in many different ways. Below is a reference design. You can modify it per your needs.

    Your parent element design could be something like below:

    
    
    
    
    

提交回复
热议问题