getLinks()
Description
Retrieves a promise containing the links data
info
The getLinks() method is included in the RestDataProvider service, which is designed for server interactions
Usage
getLinks(): promise;
Returns
The getLinks() method performs a GET request to the server and returns a promise that resolves with the links data.
Example
const url = "https://some_backend_url";
const restProvider = new kanban.RestDataProvider(url);
Promise.all([
    restProvider.getCards(),
    restProvider.getColumns(),
    restProvider.getLinks(),
]).then(([cards, columns, links]) => {
    const board = new kanban.Kanban("#root", {
        cards,
        columns,
        links
    });
    board.api.setNext(restProvider);
});
Change log: This method was introduced in version 1.5
Related articles: Working with server