Wiki
Clone wikiREACT native plugin / getInFeedBannerComponentsCount
Overview
Gets the amount of in-feed banner components attached to the UI.
Syntax
getInFeedBannerComponentsCount(placementName, callback)
placementName (required)
string. Name of the in-feed banner placement.
callback(required)
Callback<Int>. Used to provide the function call result to JavaScript.
Parameters:
- Int- the amount of in-feed banner components attached to the UI.
Examples
#!javascript RNAatkit.getInFeedBannerComponentsCount("InFeed", (count) => { console.log("amount of in-feed banners " + count); });
Updated