mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-31 12:52:13 +00:00
18 lines
350 B
TypeScript
18 lines
350 B
TypeScript
import Component from '@ember/component';
|
|
import { action } from 'ember-decorators/object';
|
|
|
|
export default class extends Component {
|
|
/**
|
|
* Closure action to request more entities
|
|
*/
|
|
getNextEntities: () => void;
|
|
|
|
/**
|
|
* Handles the request to fetch more entities
|
|
*/
|
|
@action
|
|
loadMoreEntities() {
|
|
this.getNextEntities();
|
|
}
|
|
}
|