Request: API to open Tome of Teleportation outside the AddOn
Toxicom opened this issue ยท 4 comments
Description
Hello, I am Toxi from ToxiUI and have received a request to integrate Tome of Teleportation in to my AddOn, see Toxicom/toxiui#113
Basically I would call a function to open Tome of Teleportation from inside my AddOn, but after looking through your code, I can't find a function that I could call.
Could you please add a way for other addons to open Tome of Teleportation, or if a method already exists direct me to it?
Acceptance criteria
- Tome of Teleportation can be opened by other AddOns
Sorry, reopening the issue. Could you introduce a toggle function for the teleporter? That seems like a standard for all the WoW API frames.
function TeleporterToggle()
if isVisible then
TeleporterClose()
else
TeleporterOpenFrame()
end
end