Open yasmanets opened 4 years ago
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
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:
@enesser This PR as well ❤️
@yasmanets please make it able to merge into the main branch, it will be helpful 🙏
With these changes you can set custom urls for iOS devices. Initializing the properties
vCard.iosURL
andvCard.label
as an empty array and putting in each position of the array a url and its label respectively. As in the following example:You will get the following result: