Universeorange.com/Docs/
ready(() => {
const element = select('div');
element.request();
let data = {};
element.request(data);
element.request(null, data, (url, response) => {
console.log(url);
console.log(response);
});
});
If the element has a data-url
attribute, a request can be made.
If you want to add data
, see the example.
If you want a closure function
, see the example.
Last modified: 2021-06-07
© 2021 universeorange.com