- Notifications
You must be signed in to change notification settings - Fork10
Base adapter class that all other js-data adapters extend.
License
NotificationsYou must be signed in to change notification settings
js-data/js-data-adapter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Base adapter class that all other JSData adapters extend.
Refer to the various JSData adapter repositories to see how they extendAdapter.
npm i --save js-data js-data-adapternpm i --save js-data js-data-adapterNow extend the adapter:
import{Adapter}from'js-data-adapter'// ES6classMyAdapterextendsAdapter{}
varAdapter=require('js-data-adapter').Adapter// Use Adapter.extendvarMyAdapter=Adapter.extend()
varAdapter=require('js-data-adapter').Adapter// Manually extendfunctionMyAdapter(opts){Adapter.call(this,opts)}// Setup prototype inheritance from AdapterMyAdapter.prototype=Object.create(Adapter.prototype,{constructor:{value:MyAdapter,enumerable:false,writable:true,configurable:true}})Object.defineProperty(MyAdapter,'__super__',{configurable:true,value:Adapter})
- Guides and Tutorials - Learn how to use JSData
- API Reference Docs - Explore components, methods, options, etc.
- Community & Support - Find solutions and chat with the community
- General Contributing Guide - Give back and move the project forward
The MIT License (MIT)
Copyright (c) 2016 js-data-adapter project authors
About
Base adapter class that all other js-data adapters extend.
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.
