is there api to get itemComponent to be used later in any other function,
See original GitHub issuehi @tiberiuzuld , is there any function which will give me itemComponent object, to be able to use pushItem api i need itemComponent, but i found that only in initItem callback function, itemComponent is available, so i save the itemComponent is item as below to be used later.
initItem(item, itemComponent) { item["itemComponent"] = itemComponent; }
but i think its not good way, as item has itemComponent, and itemComponent has item,
i am using gridster from angularjs as our application is not yet into angular,
can you suggest me on how to get itemComponent directly.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Introduction to web APIs - Learn web development | MDN
First up, we'll start by looking at APIs from a high level — what are they, how do they work, how to use...
Read more >Use Getters and Setters to Modify Data - Salesforce Developers
Annotate either the getter or the setter with @api , but not both. It's a best practice to annotate the getter. To hold...
Read more >Display a List Using the FlatList Component in React Native
React Native's `FlatList` component renders list items that can be displayed on the screen, and has features like scrolling, header/footer ...
Read more >APIs for Beginners - How to use an API (Full Course / Tutorial)
What is an API ? Learn all about APIs (Application Programming Interfaces) in this full tutorial for beginners. You will learn what APIs...
Read more >Integrating with Other Libraries - React
To prevent React from touching the DOM after mounting, we will return an empty ... that we can use jQuery trigger() API to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

yes, this is one way, but every time, it will have to iterate through all items, i would prefer if there is any optimized way/api of getting itemComponent, @tiberiuzuld do you have any suggestion.
@tiberiuzuld can you please help