-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Accessing host component instance
You can get the instance of the component your custom component is hooked to by adding this property to your component class:
@input() private hostComponent!: any;
In one of our custom components, we are using this approach to obtain the ISBN.
For ISBNs, we know that the value is stored in the following path:
hostComponent.searchResult.pnx.adddata.isbn
For Items and Holdings, after the corresponding state transitions (e.g., clicking to expand the Holding section), is it possible to retrieve their data through hostComponent in the same way? Alternatively, is there another recommended method for retrieving these values?
Related case: In case 08262084, there are several display-related limitations that are difficult to resolve at this time, and the available display space is also limited. Therefore, we are considering customization as an alternative solution.
We are exploring applying this to components such as .
The fields we are considering placing through customization include Barcode, public note, and similar values.