marko-js-archive / marko-widgets

[LEGACY] Module to support binding of behavior to rendered UI components rendered on the server or client
http://v3.markojs.com/docs/marko-widgets/
MIT License
141 stars 40 forks source link

Out parameter? #161

Open basickarl opened 8 years ago

basickarl commented 8 years ago

http://markojs.com/docs/marko-widgets/get-started/#usage

It doesn't state in the documentation what out is, example:

{
    getInitialProps: function(input, out) {
        return {
            name: input.name.toUpperCase()
        }
    },
    ...
}

http://markojs.com/docs/marko-widgets/get-started/#shouldupdatenewprops-newstate

Doesn't state what the newProps parameter is.