You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that the context parameter in the binding function has no $element property listed among the other properties like $data, $parent, etc. Is it possible to reference the DOM element another way?
var bindings = {
question: function (context, classes) {
--- I want to set the ko.css binding on the DOM element but there is no context.$element ---
}
}
This library has been a Godsend in a project I've been working on so thank you.
The text was updated successfully, but these errors were encountered:
I notice that the context parameter in the binding function has no $element property listed among the other properties like $data, $parent, etc. Is it possible to reference the DOM element another way?
var bindings = {
question: function (context, classes) {
--- I want to set the ko.css binding on the DOM element but there is no context.$element ---
}
}
This library has been a Godsend in a project I've been working on so thank you.
The text was updated successfully, but these errors were encountered: