javascript - Google Dart Core Pages Clear Children -


Whenever a page changes, then I am trying to clear the elements of children on a page. However, with the current method of doing so, nothing changes on the page, the same qualities are there. Right now, I've dynamically generated inputs depending on which different data is based, depending on which tab is selected and displays the appropriate core page (). Each time there is a way to reset the original-page so that different inputs appear properly for each tab? Children Clear () can not be the best way Please tell me that you need more information.

  @observable int Page ChangeCount = 1; Zero page changed (old value, new value) {var pages = document.query selector ('core-page'); PageChangeCount ++; If (page == 0) {if (change page% 2! = 0) {pages.children.clear (); } Display (true); } And if (page == 1) {if (page changer% 2 == 0) {pages.children.clear (); } Display (false); }}    

I have actually found all the elements through:

  pages.children.removeWhere (Element E) {if (e.nodeName! = "Elements are looking for you")) {Back true;} else {return false;}    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -