Skip to content

Custom url's for ios devices#52

Open
yasmanets wants to merge 8 commits intoenesser:masterfrom
yasmanets:label-ios-urls
Open

Custom url's for ios devices#52
yasmanets wants to merge 8 commits intoenesser:masterfrom
yasmanets:label-ios-urls

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