This commit is contained in:
Kyle Shockey
2017-10-04 18:39:13 -07:00
parent fa24b6aec8
commit f6206d35fd
45 changed files with 5775 additions and 36 deletions

View File

View File

View File

@@ -0,0 +1,43 @@
# Plugin API
A plugin is an object that contains functions and components capable of modifying and augmenting Swagger-UI's functionality.
### Format
A plugin may contain any or all of these keys:
```javascript
const MyPlugin = {
statePlugins: {
anyStateKey: {
actions,
reducers,
selectors,
wrapActions,
wrapSelectors
}
},
components: {
},
wrapComponents: {
}
}
```
### Interfaces
##### Actions
##### Reducers
##### Selectors
##### Components
##### Wrap-Actions
##### Wrap-Selectors
##### Wrap-Components