Skip to content

Custom url's for ios devices #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

yasmanets
Copy link

@yasmanets yasmanets commented Apr 5, 2020

With these changes you can set custom urls for iOS devices.
Initializing the properties vCard.iosURL and vCard.label as an empty array and putting in each position of the array a url and its label respectively. As in the following example:

vCard.iosURL = [ ];
vCard.label = [ ];

testCard.iosURL.push('https://www.treeala.com');
testCard.iosURL.push('https://www.twitter.com/yasmaniaco');
testCard.iosURL.push('https://www.instagram.com/yasmanets');
testCard.iosURL.push('https://github.com/yasmanets');

testCard.label.push('Web page');
testCard.label.push('Twitter');
testCard.label.push('Instagram');
testCard.label.push('Github');`

You will get the following result:
Captura de pantalla de 2020-04-05 17-50-06

@DominicSherman
Copy link

@enesser This PR as well ❤️

@JuGit-pk
Copy link

@yasmanets please make it able to merge into the main branch, it will be helpful 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants