Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Include Page
docs:sneak peek warningdocs:
sneak peek warning
Div
classapi-page

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

Section
Column
width70%
Code Block
javascript
javascript
bgColorwhite
borderStylenone
fluid.model.resolvePathSegment(root, segment, create);

File name: Fluid.js

Parameters

Span
classborderless-table

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

Span
classborderless-table

Object

The object found at the requested path segment.

Column
width5%

Column

See Also


Example

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

In this example, ...