setCOSJSTargetFunction for NSTextField text change events?
I need to store settings on NSTextField text changed.

example: using NSTextField
        titleLabel.setCOSJSTargetFunction(myOnTextChangedToSaveSetting)
        titleLabel.setAction("callAction:")

how is this possible with JSAPI - would I use setCOSJSTargetFunction - if yes - how?