Their version in the polymer is reset element / custom element to its original state. How to make an item again?
I want all the values ββof the internal variables to be deleted and that the element will look the same as I load the page.
thanks
I see ways:
First you need to write a reset method that resets all the vars so that the associated ui gets back to its original state.
, Polymer.dom(parent).removeChild, document.createElement Polymer.dom(parent).appendChild/insertBefore.
- .
Source: https://habr.com/ru/post/1611705/More articles:Using protected fields in an abstract class in Java - javaHow to change application dictionary NSProcessInfo application from unit test? - iosphp get the last day of the month - dateConvert multidimensional array to single - arraysYii2 - how to set the main pagination pageSizeLimit configuration? - phpHow to display 3 cells per row in a UICollectionView? - iosResize text element in navigation mode - androidHow to change color while scrolling user - javascriptHow to load SVG file into SVGRenderer in three.js file - svgHow to make all contents of android scoll page up - androidAll Articles