import { History } from "../component/history"
import { Service } from "../concept/service"
export class BackButtonService extends Service {
    public name = "BackButtonService"
    public readonly history = new History()
    register(id: any, callback: Function) {
        this.history.registerBackButton(id, callback)
    }
    remove(id: any) {
        return this.history.removeBackButton(id)
    }
}
