Skip to content

Commit

Permalink
Update sites/cheerpj/src/content/docs/11-guides/implementing-native-m…
Browse files Browse the repository at this point in the history
…ethods.md

Co-authored-by: Ana Gabriela Reyna <gabrielareynaflores@gmail.com>
  • Loading branch information
theodoravraimakis and GabrielaReyna authored Nov 21, 2024
1 parent a81646e commit bbf37a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Here, we provide an implementation for the `alert` method in the `Example` class
</html>
```

In this setup, `cheerpjInit` loads `Java_Example_alert` as the native method implementation. When `Example.alert` is called in Java, it triggers the JavaScript `Java_Example_alert` function, displaying an alert dialog with the message.
In this setup, [`cheerpjInit`] loads `Java_Example_alert` as the native method implementation. When `Example.alert` is called in Java, it triggers the JavaScript `Java_Example_alert` function, displaying an alert dialog with the message.

[`natives`]: /docs/reference/cheerpjInit#natives
[`CJ3Library`]: /docs/reference/CJ3Library
Expand Down

0 comments on commit bbf37a1

Please sign in to comment.