Listing 12 shows the new version of onview.
清单12显示了修改后的onview。
In your case, it results in invoking the method onview.
在这个例子中,将导致调用方法onview。
Onview - This function is called whenever the widget is displayed.
onview—此函数在小部件显示时就会调用。
Keep in mind that onview and onedit may be invoked multiple times.
请记住onview和onedit可多次调用。
Once the user has finished the edit and goes back to the view mode, onview() is invoked again.
一旦用户完成编辑并返回查看模式,则再次调用 onview()。
Take a look at the function onview inside the file FlexWrapper.js to see how the tag is constructed.
可以通过查看Flex Wrapper . js文件中的onview函数,了解这个标记是如何构造的。
Now when the widget loads and triggers the onview function, it displays the Flash application as shown in figure 6.
现在,当小部件装载并触发onview函数时,它会显示Flash应用程序,如图 6 所示。
The result is that the methods onLoad and onview are invoked automatically by the framework when the widget is placed onto the page.
结果是当把小部件放到页面上之后,框架将自动调用onLoad和onview方法。
The result is that the methods onLoad and onview are invoked automatically by the framework when the widget is placed onto the page.
结果是当把小部件放到页面上之后,框架将自动调用onLoad和onview方法。
应用推荐