My requirement is how to detect the device level notification on/off in android device using javascript (don't use any kind of plug-in only you can use plug-in if this plugin support to PWA application). As per if notification off I need to show...
Polymer 3 uses import to load external Javascript. For example import {GoogleCharts} from 'google-charts'; However, it seems for this to work, the external library should use exports. I am trying to use mapbox-gl.js library. This library,...
I am learning polymer3.x. I made a dummy polymer element. Now i wanted to know how to publish online and use it in some other framework(eg: angular app). I completed the requirements as mentioned in https://www.webcomponents.org, included License...
I'm trying to understand/implement two way attribute binding in a Polymer 3 web component. I've got the following code: import {html, PolymerElement} from '@polymer/polymer/polymer-element.js'; class CustomInputComponent extends P...
I'm new to both Polymer and Webpack and trying to work out how to get the polymer-webpack-loader transpiling correctly. According to the new Polymer 3.x way of importing HTML into JS (Polymer 2.x was the other way round), I've created a separ...
I am using this polymer-redux repo from github in my examples: https://github.com/tur-nr/polymer-redux/tree/dev/v2.x I have the redux-todo component which connects the todoApp with the redux store. I also created a mixin from where I would like...
Is there a way to create a custom event in in Lit-Element/Polymer, such as a mouse-over event? I've been searching for this a while now, but I can seem to find a way of doing it. I know about events in Lit-Element, like @click, but nothing about...
I am working with lit-element 2.0 and I am having an issue where I am getting an error code Uncaught TypeError: Cannot read property 'querySelectorAll' of undefined this is the code that is generating the error console.log(this._r...
I'd like to know how to implement noUiSlider in a web component like Polymer 3/LitElement, I tried the below code which got an error as nouislider.create is not function and the server ended with a response as non-JavaScript MIME type of "tex...
I'm having issues specifically with IE11. This code works fine in Chrome/Firefox/Edge. I don't see what I am doing that would cause this to not work. Here is the part of my polymer element's shadow dom that is breaking: <template i...
©2020 All rights reserved.