I am using semantic UI API and when I specified the action in meta data it's giving me error:
API : No URL specified for api event
Basically, I am facing the same issue with a div element.
<div class="dashboard-top cards-row js-list-fetch loading" data-action="get all items">
and defined global settings like
$.fn.api.settings.api = {
"get all items": "/items"
}
and initialising like below don't work
$(".js-list-fetch").api({
on: "now"
.....
});
but the following works
$(".js-list-fetch").api({
on: "now",
action: 'get all items'
.....
});
and when it don't work, it produces message like
API : No URL specified for api event
Please help me resolve this.
I am using semantic UI API and when I specified the action in meta data it's giving me error: API : No URL specified for api event Basically, I am facing the same issue with a div element.
<div class="dashboard-top cards-row js-list-fetch loading" data-action="get all items">
and defined global settings like
and initialising like below don't work
but the following works
and when it don't work, it produces message like API : No URL specified for api event
Please help me resolve this.