Sha256: 7cd615757454e8a20d81a5c2cd2676cbe745907a8c4ef4683d05bc6b1b7f1d2e
Contents?: true
Size: 626 Bytes
Versions: 12
Compression:
Stored size: 626 Bytes
Contents
import { CocoComponent } from "@assets/js/coco/component"; import { getData } from "@helpers/alpine"; export default CocoComponent("popoverContent", () => { return { init() { this.hide = this.hide.bind(this); this.show = this.show.bind(this); this.toggle = this.toggle.bind(this); }, hide() { this.$dispatch("popover:hide", { target: this.$root.__popover_target }); }, show() { this.$dispatch("popover:show", { target: this.$root.__popover_target }); }, toggle() { this.$dispatch("popover:toggle", { target: this.$root.__popover_target }); }, }; });
Version data entries
12 entries across 12 versions & 1 rubygems