Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width50%

Component tree snippet:

Code Block
javascript
javascript

var myTree = {
    children: [
        ...
        {
          ID: "myDropDown",
          selection: "med",
          optionlist: ["xs, "s", "med", "l", "xl"]
          optionnames: ["Extra Small", "Small", "Medium",
                        "Large", "Extra Large"]
        }
        ...

var myCutpoints = [
    {IDid: "myDropDown", selector: ".dropDownBox"}
];
var myOptions = {
    cutpoints: myCutpoints
};
fluid.selfRender(renderContainer, myTree, myOptions);

Column

HTML template snippet:

Code Block
html
html
<select class="dropDownBox">
</select>

...