appendFinancingButton(options)
appendFinancingButton(options)Appends a Loan widget launch button to a specified HTML element.
Parameters
options(Object): Button configuration.variant(String): "default" | "finance"loadSubpath(String): '/eq' | '/app/amount'text(String): Button label.selector(String, optional): CSS selector of the target element.data(Object, optional): Data to be passed when the button is clicked.onClose(Function, optional): Callback function executed when the widget is closed.
Button Details
Text: "See My Financing Options"
Flow: Full loan flow at http://apply.tento.co/app/amount
Example
Tento.appendFinancingButton({
text: 'Apply for Financing',
selector: '#financing-container',
data: { financing_term: 12 },
onClose: function(isSuccess) {
console.log('Financing process completed:', isSuccess);
}
});