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.

Skip to end of metadata
Go to start of metadata

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.


Converts an array of strings into a map where the keys are the strings and the value is true.


File name: fluidRenderer.js


array (Array) Array of strings to convert into a hash map

Return Value

Value description

See Also


var elementList = ["div", "tr", "li"];
var map = fluid.arrayToHash(elementList);

In this example, map will result as:

      div: true,
      tr: true,
      li: true
  • No labels