This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

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();