对于applyTo和renderTo,我们在Ext 2.0的官方文档上可以看到, 引用applyTo : Mixed The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can al ...
使用YUI在页面生成Widget时,我们可以使用markup的模式,在这种模式下,生成的widget是从已有的HTML Element中读取一定的信息,并适当的复用一些已有的HTML Element,例如,你可以用以下的HTML元素来生成一个Panel: <div id="panel1"> <div class="hd">Panel #1 from Markup</div> <div class="bd">This is a Panel that was marked up in the document.</div> ...
bbiao
搜索本博客
博客分类
存档
最新评论
  • Apache的中配置Directory ...
    多谢了!!今天部署也出现和你一样的问题!也整了二三个小时 最后看你的贴子关了se ...
    -- by javadonkey
  • YUI的一点优点
    老朽的HTML已经不能适应这个时代的需要了,应该有新的标准语言出来统一大家的标识 ...
    -- by clia
  • YUI的一些不足
    刚看了YUI的代码,对于Container下的属性的配置,是不区别大小写的,所以 ...
    -- by bbiao
  • YUI的一点优点
    air已经是这样做,号称是可利用当前的HTML/CSS/JS技术。迁移到桌面程序 ...
    -- by sp42
  • YUI的一点优点
    jellyme 写道LZ在YUI的看法上,我是非常赞同的。但是LZ提及的Prog ...
    -- by bbiao