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.model.resolvePathSegment

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.model.resolvePathSegment(root, segment, create)

fluid.model.resolvePathSegment(root, segment, create);

File name: Fluid.js

Parameters

root (Object) The object to search
segment (String) The path segment to search for.
create (boolean) If true and the requested path segment does not exist, an empty object will be created at the path.

Return Value

Object The object found at the requested path segment.


Example

var atval = fluid.model.resolvePathSegment(component, thisSeg);

In this example, ...