Sha256: b6e8e7d9a6cbd163efbd4e5444149492defaa889ec6a278e4a5fee181ac49cda
Contents?: true
Size: 340 Bytes
Versions: 3
Compression:
Stored size: 340 Bytes
Contents
import { Controller } from "@hotwired/stimulus" // Connects to data-controller="easymde" export default class extends Controller { connect() { console.log(`easymde connected: ${this.element}`) self.easyMDE = new EasyMDE({ element: this.element }) } disconnect() { self.easyMDE.toTextArea() self.easyMDE = null } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
plutonium-0.15.23 | src/js/controllers/easymde_controller.js |
plutonium-0.15.22 | src/js/controllers/easymde_controller.js |
plutonium-0.15.21 | src/js/controllers/easymde_controller.js |