Comments (4)
Hi Elvis! The way affiliate
is currently configured, it cannot be used to directly update the link on form submit. Instead, it would update an anchor link (i.e. <a href="...">...</a>
). See the documentation for an example of this.
There should be a text-based link affiliation method such as instance.convertLink('...')
, and I will add that in version 5.0.0
when released.
from affiliate.
@russellsteadman That'd be great! An instance.convertLink('...')
method would be a great addition to this library.
In the meanwhile I'll see what I can do playing with the current implementation. Maybe I can print the <a>
tag and then right after update or manipulate the DOM.
from affiliate.
@elvismdev This will be implemented as aff.convert('https://www.example.com/')
in the next major release. I plan to push out a major release within the next week.
from affiliate.
@russellsteadman This looks great! I'll look forward to the next release, thank you!
from affiliate.
Related Issues (10)
- Can I create dynamic product link using this library? HOT 2
- Typescript? HOT 3
- Attach function fail on AffiliatePluginAmazon HOT 9
- affiliate.js - which affiliate programs do you support? HOT 2
- Link with target and rel attributions HOT 1
- Update nom package to V5 and changelog HOT 1
- Decouple affiliate utilities from DOM functionality HOT 3
- [Affiliate] TypeError: e.set is not a function HOT 2
- [new feature] change shorten amazon links posted by users by my own links HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from affiliate.