You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading through the sourcecode and looking for a way to pass a callback function to check after the slot has rendered if it is empty, with the isEmpty method available on DFP.
I found where I can call that method in the source, but I'm looking for a way to pass a callback function when I define a slot.
Not an issue with the library, it does what it says. I'm trying to take a stab at this myself, but I can't see how it can be done.
Did anyone try this?
e.g. in my case, because currently the directives data-ng-dfp-ad-hide-when-empty data-ng-dfp-ad-container are not working for me and I need to hide my container.
I apologise if this is not the place for such questions, as it's not a technical issue more of a " does this feature exist " kind of thing.
The text was updated successfully, but these errors were encountered:
I'm reading through the sourcecode and looking for a way to pass a callback function to check after the slot has rendered if it is empty, with the
isEmpty
method available on DFP.I found where I can call that method in the source, but I'm looking for a way to pass a callback function when I define a slot.
Not an issue with the library, it does what it says. I'm trying to take a stab at this myself, but I can't see how it can be done.
Did anyone try this?
e.g. in my case, because currently the directives
data-ng-dfp-ad-hide-when-empty data-ng-dfp-ad-container
are not working for me and I need to hide my container.I apologise if this is not the place for such questions, as it's not a technical issue more of a " does this feature exist " kind of thing.
The text was updated successfully, but these errors were encountered: