githubnext / githubnext/vscode-react-webviews
Info: How to pass in a message from another command to the webview?
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 11
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I have tried exposing a ``postMessage`` function in ``NextViewWebpanel`` class and then posting a message to ``this.panel.webview.postMessage``, but I can't get it working. I'd like to update the VSCodeAPI State.
What is the best practice in updating the state of the webview from another command?
Some context:
I'm trying to pass text from the editor to the webview.
Thank you in advance!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.