An offline widget that you can easily embed in your web page with just a few lines of code, automatically providing the user with network feedback, sync messages, offline instructions, and more.
一个离线的小部件可以让你只需要少许代码就可以很容易地将其嵌入到你的网页中,向用户自动提供网络反馈、同步消息、离线帮助以及其它更多功能。
To dispel the magic behind widgets, let's develop a very simple widget that displays informational messages.
要消除小部件背后的神秘性,让我们不妨来开发一个非常简单的、可显示信息消息的小部件。
The next important concept to understand is how the messages are constructed out of the message fields. The following text is a sample of what a generated Dojo widget definition looks like
要了解的下一个重要概念是如何在消息字段的基础上构造消息。
The payload of an event carries messages that are sent between the sending widget and the receiving widget, as shown in Figure 1.
事件的负载(payload)承载着在发送小部件和接收小部件之间传送的消息,如图1所示。
The payload of an event carries messages that are sent between the sending widget and the receiving widget, as shown in Figure 1.
事件的负载(payload)承载着在发送小部件和接收小部件之间传送的消息,如图1所示。
应用推荐