ko.options.useOnlyNativeEvents

73 views
Skip to first unread message

Norma Mendonca

unread,
Aug 12, 2016, 3:33:40 PM8/12/16
to KnockoutJS
Hi,

I have recently started using Knockout JS. 

I have tried using 'ko.options.useOnlyNativeEvents', and I get the following error:

100 Uncaught TypeError: Cannot set property 'useOnlyNativeEvents' of undefined

Kindly provide me insights on this.

Regards
Norma

Michael Best

unread,
Aug 12, 2016, 4:26:00 PM8/12/16
to KnockoutJS
ko.options was introduced in Knockout 3.4. If you're using an earlier version, it won't be available.

-- Michael

Norma Mendonca

unread,
Aug 12, 2016, 4:50:47 PM8/12/16
to KnockoutJS

Thank you Micheal. As you mentioned I was using 3.3.0.
Reply all
Reply to author
Forward
0 new messages