Questions tagged as 'polymer'

1
answer

Polymer - Assign a default value for a content tag

I'm creating a Polymer element with this structure: <template> <style> ... </style> <div class="card-header" layout horizontal center> <content select="img"></content> &l...
asked by 07.01.2015 / 21:45
0
answers

how to access a shadowDom element using D3.js and Polymer

Good afternoon, I'm trying to make a program to draw a graphic, however I need to erase the graphics and draw it again whenever I update. I'm using D3.js to handle svg and polymer because I'm creating a web component. In short, my code looks lik...
asked by 31.01.2018 / 17:08
1
answer

Pass and declare parameter (array) in Polymer

I need to pass the following prametro to a polymer element: [ ["id", "nome", "idade"], [1, "matheus", 16], [2, "cristian", 16], [3, "pedro", 10], [4, "henrique", 10] ] How do I declare this variable (a matrix)...
asked by 31.03.2016 / 03:10
1
answer

Text editor table is not writing to the database [closed]

I have a text editor in a project, but when someone uses the table tool in the editor it does not write to the table in the database, it only writes the contents of the table. And when it is downloaded the text comes without the table, getting u...
asked by 18.09.2017 / 18:47
1
answer

Computed property Polymer

Greetings. My problem is this. I have a product detail page. It is accessed after clicking on a specific product on another listing page, the content is displayed through the product ID. So far so good. Inside this detail page, I have an element...
asked by 27.06.2018 / 14:45
1
answer

Notifications in polymer

Good morning, I have the following code for my reader: <link rel="import" href="../polymer/polymer-element.html"> <dom-module id="reader"> <template> <div> <button id="NewYork" on-click="putNew" value = "Te...
asked by 02.03.2018 / 12:41
1
answer

gulp-rev-all doing replace no id dom-module

I'm trying to version the assets from my polymer web app using gulp-rev-all. However, gulp-rev-all is doing replace and adding hash also in the dom-module id. Ex: <dom-module id="cr-header.fd743a17"> gulp.task('version-assets',...
asked by 31.08.2017 / 22:33
1
answer

Polymer: Observe a global variable

I want to create an element that will open a popup and display a message to the user. I want it to be accessible by any view from my system. So I created a global variable that will be responsible for saving the error messages. I want to know ho...
asked by 30.12.2016 / 19:33