I am facing problem to close module dropdown on clicking anywhere in child application UI screen.
I am not be able to handle click Outside functionality for dropdown elements defined in Parent application after clicking on the IFrame
which loads child application inside Parent application as I have an application built using Ember JS. Inside that I have another application plugin using IFrame created using React JS. I wanted to hide the rendered dropdown from the parent application by clicking inside the IFrame
where the child application is presented.
Can anyone provide a solution to achieve it?
mercredi 23 août 2023
Unable to close module dropdown of parent application on clicking anywhere in child application UI screen rendered in Ifaram
dimanche 20 août 2023
Is there a way to call an Ember Octane component method with parameters and have it return the text without implementing a helper?
On Ember Octane versions, how would I call a method in the component.js so that it simply returns the string value into the hbs template (without creating a helper)?
For example, I want for each item in the list, pass the index value as a parameter into the randomColorClass() method in order to generate a random number between 0 and index value. I understand I could implement a new helper for it, but is there a way to simply do it direct in the component.js?
The reason I'm hesitant to use a helper is because helpers are "global" naturally and this color class is unique to and defined in this component only.
Component.js
randomColorClass(max) {
const rand = Math.random() * max;
return `color-${Math.floor(rand)}`;
}
Template.hbs
<div class=>
Hi, my name is
</div>
jeudi 17 août 2023
Ember application runtime error uncaught referenceerror ember is not defined vendor.js
I'm trying to upgrade the ember from 3.* to 4.12.2. I'm not getting any compilation issues but when I run my application I'm getting "uncaught referenceerror ember is not defined" inside the vendor.js file.
Any help appreciated, Thank you in advance.
Regards
I tried removing deprecated libraries, tried using auto import still getting this same issue