DiviArea.Data.addAltId()

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.

Params

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.

Returns

The function does not return anything.

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support