Plugin JavaScript Function slotName()

function module_class_name.slotName()

Summary

This function returns the name of a Slot that your Plugin is in on a Page.

Where You Can Use It

Anywhere in your JavaScript code in the front-end. From Zenario 7.0 onwards.

Description

Note that this will only return one Slot name; if your Plugin is in more than one Slot on a page then it's not defined which one will be returned.

Return Value

The name of a slot, or false if there are no instances of your Plugin currently one the page.