-
Notifications
You must be signed in to change notification settings - Fork 38
Description
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.