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

fluid.allocateGuid

This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.

fluid.allocateGuid()

Allocate an integer value that will be unique for this session.

fluid.allocateGuid();

File name: Fluid.js

Parameters

None

Return Value

integer  


Notes

The framework keeps track of allocated guids internally, incrementing each time a new guid is used.

Example

var uniqueId = fluid.allocateGuid();