Skip to content

Commit 85e7c47

Browse files
committed
chore: update
Change-Id: Ib63a179da25c06b9e798e66b5d5ba01a04232bb7
1 parent 82edddc commit 85e7c47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/zh/guide/interaction/event-handling/event-propagation.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,13 @@ LynxView.sendGlobalEvent("eventName", args);
201201
</PlatformTabs.Tab>
202202

203203
<PlatformTabs.Tab platform="harmony">
204+
204205
```js
205206
// 可以调用 LynxContext 的 sendGlobalEvent 函数
206207
// 第一个参数为前端监听的事件名称,第二个参数为前端接收到的数据
207-
LynxContext.sendGlobalEvent("eventName", args);
208+
LynxContext.sendGlobalEvent('eventName', args);
208209
```
210+
209211
</PlatformTabs.Tab>
210212
</PlatformTabs>
211213

0 commit comments

Comments
 (0)