Rename event

This commit is contained in:
Adrien Maston
2026-02-23 16:10:54 +01:00
parent 1d07e10650
commit 0b229c701b
4 changed files with 6 additions and 6 deletions
@@ -3,9 +3,9 @@ import { BridgeComponent } from "@hotwired/hotwire-native-bridge"
export default class extends BridgeComponent {
static component = "share"
share() {
shareUrl() {
const description = this.bridgeElement.bridgeAttribute("share-description")
this.send("share", {
this.send("shareUrl", {
title: document.title,
url: window.location.href,
description