Skip to main content

Questions tagged [polymer]

The Polymer library provides a set of features that make it easy and fast to make custom elements that work like standard DOM elements.

polymer
0 votes
0 answers
8 views

Web component library using Lit return Failed to resolve module specifier "lit"

I created a new web component library project based on : [email protected] [email protected] using Vite's library mode (see https://dev.to/receter/how-to-create-a-react-component-library-using-vites-library-mode-...
Geoffrey Lalloué's user avatar
1 vote
0 answers
26 views

Polymer functions not functioning after Angular 11 update from 10

The errors in the console after ng serve has compiled succesfully These errors have just started to be thrown in angular 11. It was running fine in angular 8, 9, 10. This is recurrent on multiple ...
user26393160's user avatar
0 votes
0 answers
35 views

Can vite.js works polymer elements?

I'm currently working on a project using polymerjs in version 2. I can't find any information on the compatibility of vite.js with polymer elements. Do you know if this javascript bundler is ...
Geoffrey Lalloué's user avatar
1 vote
0 answers
16 views

Is there any other way to add unit test for Polymer 1.x component apart from Web component tester?

I have a polymer 1.x component written in a .html file, <dom-module id=“create-layout"> <template> <input role="widget" name=“years” value="" autofocus ...
Swarnadipa Choudhury's user avatar
0 votes
0 answers
323 views

How can I check if a Lit or Web Component element has connected/mounted from another component, as well as listen to when it does?

Assuming an HTML structure with 2 custom web components <my-component-one> and <my-component-two> using lit that are individually lazy loaded, is it somehow possible to check within one of ...
sgarcia.dev's user avatar
  • 6,068
0 votes
1 answer
63 views

How to overwrite a Polymer content scripts function

I been trying to understand what part of code on youtube.com does redirect you to another site when clicking on a link in the description. For that I have tried to prevent all events to run in ...
siery's user avatar
  • 501
1 vote
0 answers
77 views

How to polymerize repeating units of polymers into dimers

I want to polymerize the repeating units of the polymer into dimers or trimers. The repeating units are represented by SMILES, such as *CCC(C)C(*)C The '*' represents the polymerize point, how can I ...
Blue's user avatar
  • 13
0 votes
1 answer
161 views

Why is input element retaining the value? Data binding is not applying the second time

Using lit element... I have this element called single transaction. From the list of transactions page, I click on single transaction and go to a new page with single transaction. In the notes input ...
dman's user avatar
  • 10.8k
1 vote
0 answers
21 views

Why does Flexbox break PolymerElements/paper-tabs?

When trying to style paper-tabs alongside iron-pages on a webpage within a div, using Flexbox, specifically display: flex, the tabs disappear. If I remove display: flex, they re-appear. Example of ...
Guybrush Threepwood's user avatar
0 votes
2 answers
68 views

Custom polymer component not triggering sweetalert

I have created a custom card component in polymer import { PolymerElement, html } from 'https://cdnjs.cloudflare.com/ajax/libs/polymer/3.5.1/polymer-element.js'; class CustomCard extends ...
Gandalf's user avatar
  • 13.6k
1 vote
2 answers
1k views

How to obtain all n atom fragments (substructures) from a mol file using RDKIT?

I am interested in obtaining fragments, or sub structures, that contain 4 non-hydrogen atoms within a larger molecule. The closest example to accomplishing this is referenced from https://iwatobipen....
meadeytabeedy's user avatar
0 votes
0 answers
89 views

Vaadin Moving from 23 to 24 fails to find ironListConnector.js

App runs fine in 23, working to update to 24.0.2. App builds without errors but get the following errors on execution from the NetBeans IDE. There is a long series of lines after the initial error ...
Joe's user avatar
  • 31
0 votes
0 answers
56 views

How to use Polymer's Iron-Selector in plain JS?

I am using this CDN repo: https://github.com/download/polymer-cdn to import Polymer's Iron-Selector into my HTML page, other elements import sucessfully but Iron-Selector component does not. No error ...
Sam's user avatar
  • 376
0 votes
2 answers
63 views

Polymer, adding new item in nested Array in not getting rendered by dom-repeat

I have a nested array and I need to add new subject for multiple persons, but for keeping it simple I will add new subject to Jon only. [ { gender: "male", persons: [ ...
Abhigyan Kumar's user avatar
-2 votes
1 answer
47 views

Webpage using polymer library suddenly broken

At my workplace some web pages have suddenly started to malfunction a few days ago (lots of elements are not showing anymore in the pages.). I inspected the matter in firefox using the developer's ...
Benjamin schwarz's user avatar

15 30 50 per page
1
2 3 4 5
552