@wcstack/share 1.26.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +2 -2
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -69,7 +69,7 @@ npm install @wcstack/share
|
|
|
69
69
|
</template>
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
`share()` は実際のユーザー操作(クリックハンドラ)内から呼ばれる必要があるため、ボタンのクリックハンドラが直接 `$command.doShare.emit(...)` を呼びます — `<wcs-share>` 自身は `autoTrigger` のショートカットを持ちません([注意・制限](
|
|
72
|
+
`share()` は実際のユーザー操作(クリックハンドラ)内から呼ばれる必要があるため、ボタンのクリックハンドラが直接 `$command.doShare.emit(...)` を呼びます — `<wcs-share>` 自身は `autoTrigger` のショートカットを持ちません([注意・制限](#注意制限)を参照)。
|
|
73
73
|
|
|
74
74
|
### 2. `canShare(data)` — 事前に実行可能性を確認する
|
|
75
75
|
|
|
@@ -205,7 +205,7 @@ await share.share({ title: "Article", url: location.href });
|
|
|
205
205
|
share.dispose(); // 進行中の share() を無効化し、stale な resolve を破棄する
|
|
206
206
|
```
|
|
207
207
|
|
|
208
|
-
Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
|
|
208
|
+
Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.ja.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
|
|
209
209
|
|
|
210
210
|
## ライセンス
|
|
211
211
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/share",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "Declarative Web Share component for Web Components. Framework-agnostic navigator.share primitive via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|