Documentation for a historical release of Infusion: 1.3
Please view the Infusion Documentation site for the latest documentation.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

fluid.allocateSimpleId

fluid.allocateSimpleId(element)

Allocate an id to the supplied element if it has none already, by a simple scheme resulting in ids "fluid-id-nnnn" where nnnn is an increasing integer.

Arguments

  • element {Element}: The element to place the id on.

Return Value

String: representing the id