DiviArea.Data.addAltId(id, altId)

Define an alternate ID for a registered Area.

An alternate ID can be used in all places that accept an Area ID, like the DiviArea.show() function. Internally, the plugin maps the alternate ID to the real Area ID.


id string, required
The original Area ID; set to null to remove the altId again from the list of alternative IDs.
altId string, required
The alternate ID.


The function does not return anything.


No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us