oak-frontend-base/es/features/navigator.native.js

30 lines
847 B
JavaScript

import { Feature } from '../types/Feature';
export class Navigator extends Feature {
namespace = '';
setNamespace(namespace) {
this.namespace = namespace;
this.publish();
}
getLocation() {
throw new Error('unimplemented');
}
getNamespace() {
throw new Error('unimplemented');
}
async navigateTo(options, state, disableNamespace) {
throw new Error('unimplemented');
}
async redirectTo(options, state, disableNamespace) {
throw new Error('unimplemented');
}
async switchTab(options, state, disableNamespace) {
throw new Error('unimplemented');
}
async navigateBack(delta) {
throw new Error('unimplemented');
}
navigateBackOrRedirectTo(options, state, disableNamespace) {
throw new Error('unimplemented');
}
}