Setters
iOS Classic - Setters
Taboola
Setter property | Description |
---|---|
logLevel | Possible values:LogLevelDebug LogLevelInfo LogLevelWarning LogLevelError (default - this is the least verbose) |
globalExtraProperties | Pass optional feature flags as a list of key-value pairs - e.g.:// Objective-C: [Taboola setGlobalExtraProperties:@{@"<key1>":@"<val1>",@"<key2>":@"<val2>"}]; |
TBLClassicPage
All setter methods are optional.
Setter property | Description |
---|---|
targetType | Sets the target type of the Page instance (default is "mix"). ---- Do not update unless instructed to do so by your Taboola Account Manager. |
pageId | Sets the Page ID of the Page instance ---- By default, the system auto-generates an ID, based on pageUrl . If desired, you can set your own internal ID. |
pageExtraProperties | A Dictionary that can store multiple properties for the Page instance. E.g. "darkMode":"true" . |
serialDelay | Allows you to override the default interval for serial loading. See: Advanced Options > Multiple units on 1 screen. |
fetchingPolicy | Allows you to override serial loading (default) with parallel loading. See: Advanced Options > Multiple units on 1 screen. |
TBLClassicUnit
All setter methods are optional.
Setter property | Description |
---|---|
progressBarColor | Sets the color of the progressBar, whenever the Feed is being loaded (default color is blue). See Advanced Options > Progress Bar. |
progressBarAnimationTime | Controls the progressBar animation duration. See Advanced Options > Progress Bar. |
progressBarEnabled | Show/hide progress bar while Taboola Feed is loading. See Advanced Options > Progress Bar. |
optionalWidgetStyle | Sets additional styling CSS rules for the widget. (e.g. Use it to control the widget's background.) |
overrideScrollIntercept | Used to override the scroll intercept. See Advanced Options > Manual Scroll Switch. |
scrollEnable | Controls whether the Unit's content is scrollable or not (default is enabled). Important: only disable if you are using manual scroll switch ( overrideScrollIntercept ). |
Updated about 2 months ago