Closed elmiguel closed 6 years ago
Can you submit a github repository with a working example of this setup?
Hello @elmiguel , we've closed the issue because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Versions
Current Visual Issue
Screenshot
Repro steps
Step 1: Add a nested component context item
Step 2: Add the html counter part syntax and interpolation.
Note: I have included a top level copy of
quickLinks
at thetop
level to help prove the nesting object issue.Step 3: Ensuring the component has
registered
the variables;fs.js:34 ERROR TypeError: _co.toggleMenuLinks is not a function at Object.eval [as handleEvent] (HostComponent.html:6) at handleEvent (core.js:13547) at callWithDebugContext (core.js:15056) at Object.debugHandleEvent [as handleEvent] (core.js:14643) at dispatchEvent (core.js:9962) at eval (core.js:10587) at HTMLButtonElement.eval (platform-browser.js:2628) at ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:4740) at ZoneDelegate.invokeTask (zone.js:420)
fs.js:34 ERROR CONTEXT DebugContext_ {view: {…}, nodeIndex: 18, nodeDef: {…}, elDef: {…}, elView: {…}} component: (...) componentRenderElement: (...) context : HostComponent controlBtns: loginLinks: {icon: "view_list", text: "Quick Links"} quickLinks: {icon: "person", text: "Logins"} siteSearch : {icon: "search", text: ""} proto: Object cssClass: "top-bar-panels" panelLinks: Array(2) 0: Array(5) 0: {href: "#", text: "Blackboard"} 1: {href: "#", text: "Faculty & Staff"} 2: {href: "#", text: "RiverMail"} 3: {href: "#", text: "MyIRSC"} 4: {href: "#", text: "Workday"} length: 5 proto: Array(0) 1: Array(6) 0: {href: "#", text: "Bookstore"} 1: {href: "#", text: "Calendar"} 2: {href: "#", text: "Contact"} 3: {href: "#", text: "Libraries"} 4: {href: "#", text: "Campus & Maps"} 5: {href: "#", text: "News"} length: 6 proto: Array(0) length: 2 proto: Array(0) quickLinks: {icon: "person", text: "Logins"} proto: Object elDef: {nodeIndex: 18, parent: {…}, renderParent: {…}, bindingIndex: 7, outputIndex: 1, …} elOrCompView: (...) elView: {def: {…}, parent: {…}, viewContainerParent: null, parentNodeDef: {…}, context: HostComponent, …} injector : (...) nodeDef: {nodeIndex: 18, parent: {…}, renderParent: {…}, bindingIndex: 7, outputIndex: 1, …} nodeIndex: 18 providerTokens: (...) references: (...) renderNode: (...) view: {def: {…}, parent: {…}, viewContainerParent: null, parentNodeDef: {…}, context: HostComponent, …} proto: Object
vs.