Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Added the option to specify the platforms where smart banner is shown #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kamrandotpk
Copy link

Sometimes, you only want to show the Smart banner on specific devices and not show them on others e.g. I want to show the banner on iOS and Android but not on Windows or Kindle platforms. I can specify that as an option and then I won't see the Smart banner on other supported platforms.

Example:

$.smartbanner({
platforms: ['ios', 'android']
});

…s to be shown

Sometimes, you only want to show the Smart banner on specific devices and not show them on others e.g. I want to show the banner on iOS and Android but not on Windows or Kindle platforms. I can specify that as an option and then I won't see the Smart banner on other supported platforms.

Example:

$.smartbanner({
        platforms: ['ios', 'android']
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants