@gondel/plugin-jquery
TypeScript icon, indicating that this package has built-in type declarations

1.2.8 • Public • Published

jQuery Plugin

Gondel is written in vanilla js.
For projects where jQuery is already included the jQuery plugin will allow you easy access to the current ctx.

Installation

npm i --save @gondel/plugin-jquery

Usage

Class

import { GondelJqueryComponent } from '@gondel/plugin-jquery';

class MyComponent extends GondelJqueryComponent {
  start() {
    console.log(this.$ctx);
  }
}

Mixin

import { gondelJQueryMixin } from '@gondel/plugin-jquery';

class MyComponent extends gondelJQueryMixin(GondelBaseComponent) {
  start() {
    console.log(this.$ctx);
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @gondel/plugin-jquery

Weekly Downloads

12

Version

1.2.8

License

MIT

Unpacked Size

32.7 kB

Total Files

10

Last publish

Collaborators

  • merkleorg
  • ernscht
  • namicsorg