getAvailablePortals

getAvailablePortals is a helper function that returns all the available registered portals in Dashboard

How to use

import { Plugin } from'@root'

Plugin.getAvailablePortals('OPTIONAL_PLUGIN_BUNDLE')

By passing a plugin bundle id as an argument to getAvailablePortals, Dashboard will check for the registered portals that has been registered with the plugin that matches the same bundle

Last updated