Questions tagged [stencil-component]

82 questions
0
votes
0 answers

Add stenciljs component fron NPM to Vue.js application

I don't get my tag to work in my Vue project. I have create a Stencil.js component test, its just the origional code from stencil when you create an web component. I have upload it to NPM as a public package. So now it should just be to install…
Johan Byrén
  • 890
  • 2
  • 13
  • 28
0
votes
1 answer

EventSource.js not exporting NativeEventSource, EventSourcePolyfill

I am adding polyfill to my stencil component. here is my component.tsx file import { NativeEventSource, EventSourcePolyfill } from 'event-source-polyfill'; const EventSource = NativeEventSource || EventSourcePolyfill; ...code .... …
Akshay Busa
  • 125
  • 7
0
votes
1 answer

getBoundingClienRect() retrieve good position of an element the first time but {0,0,0,0} after the second rendering

I'm currently developing an Ionic4/stencil app (with the PWA Toolkit: https://ionicframework.com/pwa/toolkit) and get an issue for get the position of a component. @Component({ tag: 'app-projects-gallery', styleUrl:…
0
votes
3 answers

Nested Stencil Routes/Components

I’ve been trying to implement nested routes/components. Can someone just please explain to me how to nest routes/components. The stencil route docs aren’t of much help. Say In my component I have on the left a sidenav with a couple of…
Newton Munene
  • 145
  • 3
  • 12
0
votes
1 answer

Does loading a font using @import inside a web component with shadow reload the file?

I'm using Stencil to create a native browser web component using shadow for view encapsulation. If at the top of my SCSS file I use @import url($url-icons); Will that have each component redownload the font/icon files for each component instance,…
0
votes
1 answer

How to access other embedded form fields of stencil in the Alfresco ADF component?

How to access other embedded form fields of stencil in the Alfresco ADF component? Can any one provide solution in this?
user8030367
  • 81
  • 4
  • 18
0
votes
0 answers

Review count not work on search page

I placed this Code on card.html, review count is not work only search page. {{#if show_rating}}

{{> components/products/ratings…

Chintan Patel
  • 59
  • 1
  • 4
1 2 3 4 5
6