ember-custom-actions:Ember应用程序的自定义API操作

时间:2024-02-25 16:41:40
【文件属性】:

文件名称:ember-custom-actions:Ember应用程序的自定义API操作

文件大小:708KB

文件格式:ZIP

更新时间:2024-02-25 16:41:40

javascript ember api ember-addon jsonapi

Ember自定义操作是用于定义自定义API操作的软件包,专用于Ember 2.16(及更高版本)应用程序。 入门 演示版 在开始使用文档之前,请检查我们的演示应用程序: 安装 ember install ember-custom-actions 文献资料 模型动作 要定义自定义动作,例如: posts/1/publish ,可以将modelAction(path, options)方法与参数一起使用: path -动作的网址范围仅限于我们的api(在我们的示例中为publish ) options可选参数,它将覆盖配置选项 import Model from 'ember-data/mo


【文件预览】:
ember-custom-actions-master
----.travis.yml(1KB)
----.ember-cli(280B)
----ember-cli-build.js(1KB)
----vendor()
--------.gitkeep(0B)
----addon()
--------serializers()
--------index.js(460B)
--------mixins()
--------actions()
--------utils()
--------.gitkeep(0B)
----config()
--------release.js(2KB)
--------ember-try.js(2KB)
--------environment.js(302B)
----index.js(507B)
----.watchmanconfig(37B)
----package.json(2KB)
----tests()
--------test-helper.js(266B)
--------index.html(1KB)
--------unit()
--------dummy()
--------integration()
--------helpers()
----package-lock.json(687KB)
----testem.js(581B)
----.npmignore(378B)
----.eslintrc.js(1008B)
----.template-lintrc.js(145B)
----.github_changelog_generator(22B)
----LICENSE.md(1KB)
----.gitignore(384B)
----CHANGELOG.md(10KB)
----logo.png(174KB)
----README.md(9KB)
----.eslintignore(240B)
----.editorconfig(368B)

网友评论