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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.computeNickName(typeName)

Compute a "nickname" given a fully qualified typename, by returning the last path segment.

fluid.computeNickName(typeName);

File name: FileName.js

Parameters

typeName (Type) description

Return Value

String The last path segment of the specified typeName

See Also


Examples

var shortName = fluid.computeNickName("fluid.uiOptions");

In this example, shortName would have a value of "uiOptions."

var nick = fluid.computeNickName("cspace.autocomplete.popup");

In this example, nick would have a value of "popup."

  • No labels