![]() Raw HTML tags are parsed and the appropriate data is abstracted out into an object (e.g.Child items are now always located inside of a "children" property (instead of being inside items for JSS, and children for GraphQL).JSS field values are no longer nested inside of a "value" property (e.g.The data returned by get and fetch is processed before being returned in order to (a) address inconsistencies between the data structures returned by the JSS endpoint and GraphQL, and (b) to make it easier to grab the data properties you need. This.myItem = (this.rendering, 'SomeItemName') Import Įxport class M圜omponent implements OnInit rendering: ts.JssComponentRendering Run npm i Inside of your root app component (which is named by default), initialize the Sitecore Data Service like so:.You can read more about each one further down in the README. The JSS Angular Kit includes the following: ![]() A collection of helper functions, directives, services and type definitions to assist with Angular projects that use Sitecore JSS.
0 Comments
Leave a Reply. |