onSelect
of a drop down menu, it triggers a function that will print the selected amount of a kind into the view. (ya the below code doesn't print the selected amount, I just don't know how to output it).
......... {content: "Number of Lines", onSelect: "linesSelected", classes: "text-divider"}, {kind: "onyx.PickerDecorator", components: [ {classes: "onyx-dark input-box number-size"}, {name: "lines", kind: "onyx.IntegerPicker", min: 1, max: 10, value: 1} ]}, {name: "printer"} //place I want to output ....... linesSelected: function(inSender, inEvent) { this.$.printer.set("value", kind_I_want_to_print_out); },
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
content
instead ofvalue
. In the absence of any child controls, thecontent
of a control is rendered as the content of the tagAnother other question:
-How do you reference objects that a repeater has made?
--If need be, how would you give each repeat a different name?
ex:
Please start a new forum thread for new unrelated topics.