Questions tagged [polymer-1.0]
User this tag for questions specific to version 1 of Google's web components library, Polymer.
polymer-1.0
2,365
questions
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 ...
-1
votes
1
answer
32
views
Polymer1: addEventListener for Notify Not Working as Expected
I am trying to call window.addEventListener on my custom behavior however im not having any luck getting it to work.
test-bahvior.html
<script>
"use strict";
window.MyTest = ...
2
votes
1
answer
983
views
Get Element out of Shadow DOM or use styles of main site
I'm working in a project which uses Polymer (still on 1.7, we'll relaunch using a different technology instead of upgrading...) and I'm supposed to check out the possibilities to make it work together ...
0
votes
3
answers
250
views
How to add asterisk symbol in required Field
I have to add asterisk symbol(*) on required field how can I do this in polymer .
<paper-input id="firstNameText" required label="First Name" ></paper-input>
0
votes
0
answers
67
views
Polymer 1.x: Incompatible with native web-components?
(tl;dr - yes. However Polymer 2.0 is not and is an easy upgrade.)
I am trying to migrate an old front-end code base away from polymer 1.11.3 (webcomponentsjs 0.7.24) to native web-components.
However, ...
0
votes
0
answers
50
views
Splitting HTML imports into two separate files , imports on 2nd file are not loading
My code is like this ,
index.html
<link rel="import" href="ele/applaunch.html">
<link rel="import" href="ele/applaunch2.html">
applaunch.html
<...
0
votes
1
answer
160
views
How to call attached() callback in polymer programmatically?
I have multiple polymer components. Inside attached callback of each component, I perform variable initialization and function definition.
Based on a button click, I want to re-initialize variables of ...
0
votes
1
answer
37
views
Custom created toggle switch in Polymer1.0 doesn't work for more than one instance
Imported Polymer (1.0.0) and created a custom control which toggles and display text based on toggle value whether it is enabled or disabled.
When I use this element more than once the text is ...
0
votes
1
answer
27
views
Polymer1.0 app-router not working. Routing is not happening
This is the index.html file. By default, this page is rendered initially.
Then I want to navigate to other pages. But that's not happening.
<!DOCTYPE html>
<html lang="en">
<head>...
0
votes
1
answer
501
views
Chrome 80 polymer TypeError: Cannot read property '__proto__' of null
My Chrome is updated to Chrome 80 version.Then My site doesnot work gives below error:
My app use Angular 5,
My bower.json:
"webcomponentsjs": "webcomponents/webcomponentsjs#0.7.0",
" vendor....
0
votes
1
answer
491
views
How to write if conditions in .attr using d3 js
I have created two if conditions inside the function but it is taking only one if condition and returns that. I need to execute both if conditions at same time or how can we write condition before ....
0
votes
1
answer
267
views
Focus outline breaking on right side - not wrapping element fully
Using Chrome.... anyone know what is causing the focus blue line to break on the right side? There is no element pushing outwards to cause this.
0
votes
0
answers
32
views
Polymer ignores mouseclick after typing during 3 seconds
I have two inputs:
<input class="input" id="first" type="text" placeholder="this is first input">
<input class="input" id="second" type="text" placeholder="this is second input">
If I ...
0
votes
1
answer
46
views
How to read this.$$('#startdate').value on WCT using polymer
I'm unable to read the value from this.$$('#startdate').value to WebComponentTest(WCT)
startDate = this.$$('#startdate').value
1
vote
1
answer
208
views
Uploading images via dynamic input element not working on iOS
I am working on an app in which users can upload images to their profile.
The following function is invoked when an event is fired from a child element. It dynamically creates an input element so the ...