@radioactive-labs/plutonium
Advanced tools
Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "@radioactive-labs/plutonium", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Core assets for the Plutonium gem", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -8,2 +8,3 @@ import { Controller } from "@hotwired/stimulus" | ||
self.easyMDE = new EasyMDE({ element: this.element }) | ||
this.element.setAttribute("data-action", "turbo:morph-element->easymde#reconnect") | ||
} | ||
@@ -15,2 +16,7 @@ | ||
} | ||
reconnect() { | ||
this.disconnect() | ||
this.connect() | ||
} | ||
} |
@@ -8,2 +8,3 @@ import { Controller } from "@hotwired/stimulus" | ||
self.picker = new flatpickr(this.element, this.#buildOptions()) | ||
this.element.setAttribute("data-action", "turbo:morph-element->flatpickr#reconnect") | ||
} | ||
@@ -16,2 +17,7 @@ | ||
reconnect() { | ||
this.disconnect() | ||
this.connect() | ||
} | ||
#buildOptions() { | ||
@@ -18,0 +24,0 @@ let options = { altInput: true } |
@@ -10,2 +10,3 @@ import { Controller } from "@hotwired/stimulus" | ||
}) | ||
this.element.setAttribute("data-action", "turbo:morph-element->slim-select#reconnect") | ||
} | ||
@@ -17,2 +18,7 @@ | ||
} | ||
reconnect() { | ||
this.disconnect() | ||
this.connect() | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2451693
14947