Questions tagged [polymer-3.x]

294 questions
0
votes
1 answer

I want to stop the second request that is sent by the iron-ajax even before the first request sent is completed

I have an api that takes 4 mins(approx.) to get completed in my polymer application. When I send the request at exact 2mins another request gets sent even after timeout and debounce-duration is set to 10 mins. I want to stop that second request sent…
0
votes
0 answers

The server responded with a non-JavaScript MIME type of "application/json". Strict MIME type checking is enforced for module scripts per HTML spec

I am using https://github.com/bpmn-io/bpmn-js in application and made use of Viewer.js file and imported it in my js file. but this above error is displayed when i import this file. bpmn-js version 3.0.4.
bhagya
  • 279
  • 1
  • 3
  • 4
0
votes
1 answer

There is an issue on polymer3.x UI on hidden functionality

I'm facing issues in hidden functionality. I'm passing the values from one page to another page, I am able to get the bind value but, not able to apply bind value to hidden property. //..........First page........ // On-tap() while clicking the…
mounika
  • 53
  • 5
0
votes
0 answers

How to deploy prod bundled Polymer 3 app build?

In my case polymer app or custom element should be deployed to Springs MVC jsp page. I've expected bundled build will produce a couple of files that should be included in production similar as it is done in case of Angular 2+. But, Polymer put…
Tihomir
  • 124
  • 1
  • 11
0
votes
0 answers

template getter must return HTMLTemplateElement error in polymer 3 google map

I am new in polymer 3 and getting the following errors: template getter must return HTMLTemplateElement** and **Uncaught TypeError: Cannot read property 'api' of undefined. Can someone please help me on this. Thanks in advance. Please refer the…
0
votes
2 answers

ES5 bundled Polymer 3 component fails to load in Safari 10

I'm running into "TypeError: Constructor requires 'new' operator" at line 4 of function PropertiesChanged() { var _this; babelHelpers.classCallCheck(this, PropertiesChanged); _this = babelHelpers.possibleConstructorReturn(this,…
Robert
  • 1,710
  • 2
  • 18
  • 35
0
votes
0 answers

External Style file not loaded in polymer 3 application deployed to Spring mvc application

Styles are loaded in template: static get template() { return html`
Tihomir
  • 124
  • 1
  • 11
0
votes
1 answer

template getter must return HTMLTemplateElement in polmer component

I am trying to use polymerjs3.0 google-map component but i am getting template getter must return HTMLTemplateElement error, can someone please post the code snippet on how to use polymer google-map component. import { PolymerElement, html } from…
0
votes
1 answer

Polymer 3.x, ajax requests (to port 8081) and PHP together in development

(sorry my english!) Hi. I have this question about how to use Polymer Cli during the development, together with Xampp / Apache / PHP for the ajax request. Using "polymer serve" while I'm developing, how do I "send" the requests from ajax to the…
0
votes
1 answer

Dynamically cell rendering in ag-grid for polymer 3

How should the polymer ag-grid example be changed to render instead of "Change me" button, button with dynamic generated text from data model (Toyota, Ford or Porsche) In my use case I need to add a hyperlink based on the row data and a tooltip on a…
Tihomir
  • 124
  • 1
  • 11
0
votes
1 answer

Lit-Elements external js file as storage changed by a property data binding

i try to use in lit-elements a external js file for init values but if i do so, it isnt changebel anymore via property binding. if i write it without the extanal storage file just use this. scope and declare it in the constructor, everything works…
0
votes
1 answer

Polymer 3.0 in visual studio to make rest call with iron-ajax

Hi I use visual studio 2017 with polymer 3.0.I try to use iron-ajax to rest call.But I take error 'Uncaught SyntaxError: Unexpected string iron-ajax line 11'.I copy same example at iron-ajax site but error is same.What I am missing…
Bilgehan
  • 1,135
  • 1
  • 14
  • 41
0
votes
2 answers

Polymer 3 : styling :host

I'm trying, with Polymer 3, to build a web app. I don't know why, but css properties inside the :host element are not applied In the login.js file, css properties { display: block; min-height: 100vh;} seems to not be applied. When I go to the…
user3197506
  • 197
  • 1
  • 2
  • 14
0
votes
1 answer

Polymer 3 Mixin - Possible to implement host property in mixin like in Polymer 1 behaviors?

I am converting a Polymer 1 behavior to a Polymer 3 mixin. With the Polymer 1 behaviors, I was able to place a host property in the behavior. Is that possible with Polymer 3 Mixins? Polymer 1 behavior: