Each SharedObject instance has a data property that can be thought of as a hashtable for storing data.
每个SharedObject实例都有一个数据属性,可以看作存储数据的哈希表。
That data is also available to the main thread by accessing the data property of the message it receives.
主线程也可以通过访问它接收到的消息的data属性来访问该数据。
You can view the raw JSON response by calling the toString method on the data property of the response object. The raw response looks like Listing 7.
您可以通过对response的data属性调用toString方法来查看原始json应答。
For the function in Listing 2, extract the data property of the event, as this is the actual data sent by the thread, and pass it to another function for updating the UI.
对于清单2中的这个函数,提取event的data属性,因为这是被线程发送的实际数据,然后将它发送给另一个函数来更新ui。
People often describe property binding as one-way data binding because it flows a value in one direction, from a component's data property into a target element property.
人们经常把属性绑定描述成单向数据绑定,因为值的流动是单向的,从组件的数据属性流动到目标元素的属性。
People often describe property binding as one-way data binding because it flows a value in one direction, from a component's data property into a target element property.
人们经常把属性绑定描述成单向数据绑定,因为值的流动是单向的,从组件的数据属性流动到目标元素的属性。
应用推荐