Add JQuery Toggle Class in Stencil/Electron
问题 I'm building an electron app with stencil. I want to make a div-container visible, when I click a button. I imported jQuery library but the function doesn't make the toggleClass-method. It just shows the console.log(). Can please someone help me? my-component.tsx code: import { Component, Prop, Listen} from '@stencil/core'; import $ from 'jquery'; @Component({ tag: 'aufklapp-button', styleUrl: 'aufklapp-button.css', shadow: true }) export class AufklappButton { @Prop() test: string; @Listen(