ember-cli-giphy基于Rob Dodson的用法
安装命令:npm install --save-dev ember-cli-giphy
使用示例:
-
term: `{{!-- term --}} {{ x-giphy term = ' fail ' }}
-
random: `{{!-- random --}} {{ x-giphy term = ' fail ' random = true }}
-
id: `{{!-- id --}} {{ x-giphy gifId = ' m6aIggqT7oB4A ' }}
-
translate: `{{!-- translate --}} {{ x-giphy term = ' fail ' translate = true }}
-
key: `{{!-- key --}} {{ x-giphy key = ' dc6zaTOxFJmzC ' term = ' face palm ' }}
开发与示例:git clone这个仓库
暂无评论