1 Star 0 Fork 8

liuchunz / Axure_Js_Inject

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Axure_Js_Inject v1.0

可以在产品原型(RP)中加入你想要的js代码,这些js代码会用浏览器浏览产品原型的时候执行


支持

  • 目前支持 Axure rp 8.1.0.3372

  • 其他版本有待测试

更好的说明

Axure_js_inject 的使用说明

开始

  • 在元件库中导入 Axure_Js_Inject.rplib

使用{{}}占位符执行代码

  • 从Axure_Js_Inject元件库中拖拽{{}}到你的页面上

  • 在可以使用[[]]的地方,便可以使用{{}}

  • 如“设置文本”成当前时间:

  • 用[[]]方法时,输入的是[[Now]]

  • 用{{}}方法时,输入的是{{new Date()}}

  • 但是{{}}占位符可以实现更多的功能

  • 如展示浏览器UA

  • {{navigator.userAgent}}

使用code_Box执行代码

  • 从Axure_Js_Inject元件库中拖拽code_Box到你的页面上

  • 把js代码粘贴到code_Box中

MIT License Copyright (c) 2018 cxwithyxy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

在Axure中注入js,让你的js可以在浏览器上看产品原型的时候运行。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/liuchunz/Axure_Js_Inject.git
git@gitee.com:liuchunz/Axure_Js_Inject.git
liuchunz
Axure_Js_Inject
Axure_Js_Inject
master

搜索帮助