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
The child context should default to ChildBindingContext<unkown, unknown>. All of the referenced variables in the view exists in ViewModel. This will lead to all variables in child bindings not be defined.
<!-- ko-viewmodel: import default from './window' --><divclass="window" data-bind="draggable: windowdrag"><divclass="window--window-wrapper"><!-- ko if: showTitleBar --><divclass="window--title-bar"><divclass="title" data-bind="text: title, drag: windowdrag"></div><divclass="controls"><buttonclass="no-ui control control-hide"><imgsrc="/icons/minimize.svg"></button><buttonclass="no-ui control maximize"><imgsrc="/icons/maximize.svg"></button><buttonclass="no-ui control close"><imgsrc="/icons/close.svg"></button></div></div><!-- /ko --><!-- ko if: component --><divclass="window--content" data-bind="component: { name: component, params: { windows: windows } }"></div><!-- /ko --><!-- ko if: !component && content --><divclass="window--content" data-bind="html: content"></div><!-- /ko --><spanclass="window--resize window--north"></span><spanclass="window--resize window--south"></span><spanclass="window--resize window--west"></span><spanclass="window--resize window--east"></span><spanclass="window--resize window--north-west window--corner"></span><spanclass="window--resize window--north-east window--corner"></span><spanclass="window--resize window--south-west window--corner"></span><spanclass="window--resize window--south-east window--corner"></span></div></div>
C:/Users/elias/Projects/tacos/client/components/window.html
8:39 error Cannot find name 'title'. TS2304
27:15 error Cannot find name 'content'. TS2304
28:48 error Cannot find name 'content'. TS2304
23:15 error Cannot find name 'component'. TS2304
24:53 error Cannot find name 'component'. TS2304
27:15 error Cannot find name 'component'. TS2304
8:52 error Cannot find name 'windowdrag'. TS2304
6:15 error Cannot find name 'showTitleBar'. TS2304
24:53 error Cannot find name 'windows'. Did you mean 'Window'? TS2552
8:46 error Argument of type '"drag"' is not assignable to parameter of type '"visible" | "hidden" | "html" | "class" | "css" | "style" | "attr" | "text" | "event" | "click" | "submit" | "enable" | "disable" | "value" | "textInput" | "hasFocus" | "checked" | ... 11 more ... | "let"'. TS2345
3:31 error Argument of type '"draggable"' is not assignable to parameter of type '"visible" | "hidden" | "html" | "class" | "css" | "style" | "attr" | "text" | "event" | "click" | "submit" | "enable" | "disable" | "value" | "textInput" | "hasFocus" | "checked" | ... 11 more ... | "let"'. TS2345
✖ 11 problem (11 errors, 0 warning)
maskmaster
changed the title
If binding handler not defined type injection will fail
If binding handler is not defined type, injection will fail
Nov 12, 2020
maskmaster
changed the title
If binding handler is not defined type, injection will fail
If binding handler is not defined, type injection will fail
Nov 12, 2020
The child context should default to
ChildBindingContext<unkown, unknown>
. All of the referenced variables in the view exists in ViewModel. This will lead to all variables in child bindings not be defined.The text was updated successfully, but these errors were encountered: