Updated Creating Plugins (markdown)
parent
212341b4de
commit
c75d42ce94
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue