montagejs/montagejs.org

Event doc has formatting issues

Closed this issue · 0 comments

You can also specify the identifier string in the serialization, as shown below: ```json { "button" : { "name": "Button", "module": "montage/ui/button.reel", "properties": { "element": {"#": "btn"}, "identifier": "purchase" }, "listeners": [ { "type": "action", "listener": {"@": "controller"} } ] },

"controller": {
"name": "Controller",
"module": "controller"
}
} ```