Methods

You can define regular methods on the component to extend its functionality.

Example

import Minze, { MinzeElement } from 'minze'

class MyElement extends MinzeElement {
  myMethod() {
    console.log('Hello Minze!')
  }

  onReady() {
    this.myMethod()
  }
}

Minze.defineAll([MyElement])
<my-element></my-element>