谷歌网页设计师自定义HTML5组件
Google Web Designer Custom HTML5 Components
如何制作自定义谷歌网页设计器组件?
我假设他们会像Adobe Flash组件。它还在测试阶段,我找不到太多关于它的信息。
我试着在/Applications/Google Web Designer.app/Contents
下的所有目录中搜索,看看我是否可以窥探一些样本。文档面向用户:https://support.google.com/webdesigner/
我想构建HTML5广告组件的团队可以使用
- 你应该基于W3C标准创建你自己的自定义标签
-
为你的组件创建json manifest:
{ name: {string} A human readable name description: {string} A succinct but complete description of the component type: {string} The element type, which must contain a dash (-) version: {number} The version number, which must be incremented with each update files: {Array.<FilesObject>} The JS and CSS files for the component externalScripts: {Array.<string>} The external script dependencies dependencies: {Array.<string>} The dependent types attributes: {Array.<Attribute>} The attributes of the component methods: {Array.<Method>} The methods of the component events: {Array.<Event>} The events dispatched by the component metrics: {Array.<MetricEvent>} Events that must be tracked as a metric }
-
创建所有需要的。js和。css,然后打包组件。
在下面的链接中,您可以找到关于如何为GWD创建自定义组件的教程。
https://support.google.com/webdesigner/topic/6175711?hl=en& ref_topic = 6175722, vid = 1-635799099790786490-3463806884
希望能有所帮助。
- React重新渲染但未显示正确的组件
- 不能从angular2中的子组件指定父组件中的数组
- Canvas Html5绘图应用程序,移动画布会导致重大问题
- 拨打'父亲'函数形式a'儿童'ReactJS中的组件
- 如何使用phaser使html5游戏在移动设备浏览器上运行
- HTML5音频加载和播放获胜'我不能在iPad上工作
- React组件等待所需道具进行渲染
- HTML5页面底部棒
- 如何创建带有插槽的vue js组件预加载程序
- Google/html5语音识别JavaScript SDK Chrome网络工具包SpeechRecognition
- KnockoutJS-组件-多个实例
- Is onfling available for html, html5
- 组件是HTML5的属性还是原型.js的东西
- HTML5 文档概述了可重用的组件
- 用普通JavaScript创建的HTML5 web组件应该有多通用/特定?
- HTML5.如何在绘制的画布组件中添加鼠标事件
- 谷歌网页设计师自定义HTML5组件
- 尝试在Ember, Starfield组件中使用HTML5和Javascript
- HTML5 datetime组件不能在浏览器中工作
- 需要:HTML5/Javascript UI组件做“;匹配“/"数据映射”;UI