Polymer Questions
Ad
Web components and JS DOM Elements with a placeholder
Lately, everyone is jumping on the web component train for framework-agnostic ui elements. while i am doing my reading on this, it looks a native
bundle size: Is it possible to set lit-element as a peer dependency?
I noticed there is much code added to the bundled js for a simple lit-element based web component, and react components set react as a peer
how to access variables from other widgets
Hello i would like to know how to access variables from other widgets. for example: i would like that when i touch the button of the widget
Query element in nested shadow root
Scenerio: in my application i have nested shadow-roots, and i want to get an element in the inner
How to modify this PolymerFire/Firebase tutorial to work with email/password login instead of google account?
I want to modify this notes app to work with email/password logins instead of using google accounts:
Cannot get element by id in Polymer 2
I have a problem with getting html element inside dom-repeat in a function. at first i had this code and it worked ok.
Web Components in Different Frameworks
I want to create custom web components and use them in variety of frameworks like angular, react and vanilla javascript. my question is
Using Highcharts (and modules) with lit-element
According to a github issue, this is a follow-up
How to change the color of vaadin-select-text-field in the vaadin-select within page only?
How to change the color of vaadin-select-text-field from the vaadin-select within page only? for the vaadin-select source, it is not changed. i
How to removable digits in the format phone number after XX-XXX XXXX format when it is not able to remove some numbers?
I've coded the format number phone but it cannot removable some digits. i cannot handle it. can you please help me?
Ad
Firebase hosting Page Not Found error on empty cache and hard reload
Firebase hosting is working fine! but this displayed page not found (attached an image) page in two cases: just
How to code the array of Images in the localstorage?
How to code the array of images in the localstorage? i cannot make the array of images(base64) into the localstorage. and i want to update
Polymer 2.x + Firebase: How to reverse order of iron-list?
I want to display my data in reverse chronological order of how/when it was entered. in other words, i want the most recent entries to appear at
Polymer Firebase Binding for Location
I've been trying to bind a location value to a "note" (as in the na-notes example in codelabs) via firebase. i'm using the paper-input-place, but
Disable entire month in vaadin date picker
I am trying to disable all dates of all months in vaadin-date-picker. while looking through the code, i found that i can individually disable
set variable with conditions in dart
I have mydatetime class and it has a variable hour. i need to set this variable with some condition when i create an
open paper-dialog from another component
I'm using polymer 2 and the paper-dialog component. i have another custom web component which when a button is clicked it needs to display
How to handle items data binding with vaadin grid when using dataProvider
I am using the following example from vaadin docs with polymer3 <vaadin-grid id="grid" aria-label="remote data example">
Polymer 3 + webpack + babel Class constructor PolymerElement cannot be invoked without 'new'
I am trying to extent a mixin class in polymer. it works fine but as soon as i try to transpile my code with babel, i get class constructor
Polymer global CSS/JS
Tl;dr how can i define resources such as css/js library global to use it in the polymer components while they are working within their's
regex condition not working on polymer paper-input, how to allow only decimal on paper input?
I am trying to allow only decimal on paper-input. below are my conditions. should not allow e should allow +, - eg: -23.43 should allow
Ad
Event example from Polymer 3 devguide "Listener on outside elements" throws an exception
I've created example for the
querySelectorAll not returning all elements in DOM
I am working on a side project in which the html file is generated and sent to the front end, where it is being formatted and displayed using
Import js library in polymer 2.0
I'm facing an issue i want to know how can i import an external javascript "library/ file" to my polymer project. i want to use the htmltopdf.js
JavaScript export imports at random behaviour in Polymer PWA Starter Kit
I am having a file that serves as a server-mockup, importing all other services and exporting them, so i only have to have a single import in
Polymer 3: Text to HTML
In my polymer page i get a text from db in a variable and the text contains html tags. how can i change this text to html formated? the text i get
Opening link in new tab from Polymer Modal
Hi just a very simple question. i have a modal in my polymer 3 page. i want to add a link in the model and open the link in new tab, but its not
Material icon not displayed inside a paper-icon-button (Polymer)
I'm using polymer for a project and i just want to display a hamburger menu. the issue is that i can see the clickable zone but the hamburger menu
Polymer: Uncaught TypeError: Cannot read property 'persistent' of undefined
When i try to hide drawer in login page it occur error. i use dom-if for hiding menubar and according to it's
Access element scope from dom-repeat items compute method
How can one access the element-scope (this) in a method which is called by a dom-repeater to return items? take a look at
Change notification for map of arrays in nested dom-repeat
I’m trying to add something to a map of arrays and the value binding does not pick up the change :-( i have something like this:
How to append data to a polymer google-chart?
Take a look at this google-chart: <google-chart id='c1' type='line' options='{"title": "example"}'></google-chart>
Ad
How do I execute a function on-close or on dismiss of <paper-dialog> for Polymer 1.0?
Question: how do i automatically execute a function whenever my <paper-dialog> element
Webcomponents Polymer elements are not visible
I am trying to use polymerelements in my project, have imported all libraries, but there is nothing on the screen (in the console in the dom-tree
Nesting web components and mixing it with regular HTML
Is it possible to create independent web components with stencil or polymer and then nest them one within another? also, is it possible to mix
Polymer 2.x: Behavior mixins using class extension; error: Class constructor cannot be invoked without 'new'
I'm trying to implement behavior mixins using class extensions as described
How do I check if a firebase push event was successful on form submit
Here is my polymer form and javascript. it pushes well. what i want to do is check if it was successful, and i will hide the form and show some
Polymer Registration Form
I'll get to the point, i'm fairly new at using polymer and i want to make a registration form that pushes data to php and to a mysql
Polymer and three.js
I´m trying run three.js demo http://jsfiddle.net/hfj7gm6t/ into my polymer app but
How do you test elements that require the light dom to be loaded?
I have an element: <dom-module id="ens-page-router"> <template> <iron-pages
Routing with paper-button on-tap event
I'm having an issue with routing inside my web app, the problem is that i have a different sections in my index.html and on one of those sections
Marker don't display on map
I'm trying to send data from server to website and customize marker on polymer map, using that data. i'm using socket.io and when i try to change
FullCalendar not rendering in polymer project
I am trying to create a calendar using fullcalendar in my polymer project. i followed the demo pages provided in the fullcalendar folder, however,
Ad
Select Shadow DOM with JavaScript and/or CSS?
It seems like chrome deprecated /deep/ and >>> and ::shadow:
Should my <script> be inside my <dom-module>?
I've been developing with polymer and i've always put my <script> tags inside my <dom-module> tags. e.g:
Polymer IronResizableBehavior iron-resize event not fired when "resizable" element is hidden/un-hidden as described in docs
Below is the polymer ironresizablebehavior demo modified to fire based on the "resizable" element being hidden or un-hidden rather than just on
Polymer 1.x: Geomap Reentrancy
I want to get this geomap to behave properly. states start
Use Polymer elements in Chrome extension
At the moment i'm writing a chrome extension and in the popup.html i want to use some polymer elements, but my problem is that none
Polymer register all elements after my custom function
I have js file with this var global_actions ={}; $(document).ready(function () {
polymer routing with parameters from javascript
Ok so example we have a polymer-starter-kit with user section routing.html is :
Upload file with iron-ajax (Google Polymer)
I need support how to upload a new image file using polymer and java spring... i created an html form with 2 fields: one file input and a simply text field. i would like
Global datastore for Polymer application
I'm creating a global datastore <datastore /> web component for my polymer application. it is responsible to retrieve/alter data from/on a server.
Ad
Blog Categories
Ad