I'm trying to integrate Stencil and Storybook inside the same project. I've been following this set up guide and this one however one of the steps is to publish the library of components to NPM and that's not what I want.  I have this rep...
I'm struggling to get @Method in stenciljs working - any help would be appreciated.  Here's my component code with a function called setName that I want to expose on my component:  import { Component, Prop, Method, State } from "@stencil/...
I have the following project:  https://github.com/napolev/stencil-cannot-find-name  which contains the following two files:  custom-container.tsx  import { Component, Element, State } from '@stencil/core';  @Component({     tag: 'custom-c...
Stencil version:   @stencil/[email protected]   Jest version:     "jest": "24.8.0"   Current behavior:   I am trying to focus  a input element on button click. Which works fine, however upon trying to test the functionality using npm test ,...
I want to use a stencil library in my nuxt project.   I was able to get it working, but while the vue components are being rendered in the server side, I only could make the stencil's component to render in the client side.  I think the biggest p...
I found These Snippets in Stencil's Official Docs.   I am not able to understand how my-embedded-component is accessible in my-parent-component without providing the path of child component. Can anyone help me understand this concept?  Child Comp...
I'm working on to create a custom component using Stencil to replicate UI-select.  The component will be used like:  let items = [{name:"Abc", age: 10}, {name:"Xyz", age: 10}]; let itemString = JSON.stringify(items);  <dropdown...
I need to display html elements based on a file type. The html element creates icons. Now I only get a string.  {    isArray(data.Attachments)    ?    data.Attachments.map(attachment =>      getIcon(attachment.FileExtension)    )    : '' }...
I have recently update stencil core version to latest i.e 1.3.2  After updating there is a weird issue, which i am not sure is a bug or intended behavior. I read the changelog but could not find anything related to the issue  Stencil removes "typ...
I have an external library that is written in the old IIFE style. I have a web component which uses this lib inside. This web component was created with stencil. Now if I use my web component in some project, I have to include component js file and t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.