I have a input textbox which I am creating through oracle jet.I have used knockout event binding like below
<div>
<div data-bind="event: { mouseover: enableDetails, mouseout: disableDetails }">
Mouse over me
</div>
<div data-bind="visible: detailsEnabled">
Details
</div>
</div>
<script type="text/javascript">
var viewModel = {
detailsEnabled: ko.observable(false),
enableDetails: function() {
this.detailsEnabled(true);
},
disableDetails: function() {
this.detailsEnabled(false);
}
};
ko.applyBindings(viewModel);
</script>
and in my second textbox I have binded my data-bind as visible:enableDetails but it is not displaying when I inputed in first text box.Is oracle jet doesn't accept event attributes in data bind.