aurelia / documentation

The documentation for Aurelia.
MIT License
105 stars 110 forks source link

updateSource, updateTarget and callSource are documented as properties instead of methods #305

Closed dkent600 closed 7 years ago

dkent600 commented 7 years ago

In the API docs page for Binding, updateSource, updateTarget and callSource are documented as properties instead of methods. They are methods.

Would be nice to know what "Source" and "Target" refer to. I would assume viewmodel and element, but would like to see it explicit in the docs.

(I might add (forgive me) that the purpose of callSource is really not clear.)

EisenbergEffect commented 7 years ago

@jdanyow Can you take a look at the d.ts file for binding and see if all the type info is present?

jdanyow commented 7 years ago

Initially typedoc didn't work with the updateSource?(value: any): void style syntax so we had to use the updateTarget?: (value: any) => void; style. Seems to work now.