Theoo • Default Pluton class—JS

Default Pluton class—JS

Pluton is a JavaScript library built at Whitecube that allows you to link JS classes to CSS classes.

export default class Example {
    static selector = ".example";

    constructor(el) {
        this.el = el;

        this.getElements();
        this.setEvents();
    }

    getElements() {}

    setEvents() {}
}

All my other snippets