My code is as follows, but it does not work
Dear Ju Yun,
thank you for contacting us and the interest you show to our products.
Can you please try to replace "z-hk" by "zh_HK"?
Let us know if this doesn"t work.
Thank you for the answer. I tried zh-HK, zh_hk, zh-HK, zh_HK, and did not solve the problem. I couldn't find a sample of the myscript-common-element setup language in the developer document. Could you please provide a DEMO link for reference.
Dear Ju Yun,
currently, you are using the myscript-common-element, which doesn't have a "language" parameter.
Instead, you should use the myscript-text-web, which allows you to set the language: https://developer.myscript.com/docs/interactive-ink/1.1/web/web-components/text-element/get-started/
applicationkey="YOUR MYSCRIPT CDK APPLICATION KEY"
hmackey="YOUR MYSCRIPT CDK HMAC KEY"
In your case, using the myscript-text-web, please ensure you set "zh_HK" as language parameter.
I want to use pointerevents, and Myscript-text-web does not support pointerevents, is there any other solution?
Dear Ju yun,
currently, as `text-web` inherits of `common`, it supports the pointer events. For this, you should use the `usepointerlisteners` property: https://myscript.github.io/myscript-text-web/components/myscript-text-web/#/elements/myscript-text-web#property-usepointerlisteners