Implement hoverpic using stimulus.

This commit is contained in:
Jan Böhmer 2022-07-29 23:54:49 +02:00
parent 9519150fb9
commit 671e0944a2
6 changed files with 25 additions and 10 deletions

View file

@ -7,6 +7,7 @@ import "bootstrap-fileinput/css/fileinput.css"
import "bootstrap-fileinput";
import {Popover} from "bootstrap";
class RegisterEventHelper {
@ -16,8 +17,6 @@ class RegisterEventHelper {
this.registerFileInput();
this.registerSpecialCharInput();
this.registerHoverPics();
}
registerLoadHandler(fn) {
@ -34,10 +33,6 @@ class RegisterEventHelper {
});
}
registerHoverPics() {
}
registerFileInput() {
this.registerLoadHandler(() => {
$(".file").fileinput();