Updated Creating Plugins (markdown)

Zack 2018-11-04 02:28:24 -05:00
parent 212341b4de
commit c75d42ce94
1 changed files with 10 additions and 0 deletions

@ -178,6 +178,11 @@ Returns BandagedBD's instance of the core module. Only use this if you know what
***
#### `getData(pluginName, key)`
Alias for [loadData(pluginName, key)](#loaddatapluginname-key)
***
#### `getInternalInstance(node)`
Gets the internal react instance for a particular node.
@ -277,6 +282,11 @@ Saved some `data` for plugin `pluginName` under `key` key. Gets saved in the plu
***
#### `setData(pluginName, key, data)`
Alias for [saveData(pluginName, key, data)](#savedatapluginname-key-data)
***
#### `showToast(content, options = {})`
Shows a simple toast message similar to on Android. An example of the `success` toast can be seen [here](https://i.zackrauen.com/zIagVa.png).