UNPKG

@polymer/polymer

Version:

The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to

23 lines (22 loc) 544 B
<!doctype html> <html> <head> <title>style properties</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="../../../../webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="../../../polymer.html"> <link rel="import" href="src/scopes.html"> </head> <body> <script> console.time('rendered'); </script> <x-app></x-app> <script> Polymer.flush(); document.body.offsetWidth; console.timeEnd('rendered'); </script> </body> </html>