scottohara/loot

View on GitHub
src/og-components/og-table-navigable/services/og-table-navigable.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
export default class OgTableNavigableService {
    // Enables/disables keyboard navigation on all navigable tables
    private isEnabled = true;

    public get enabled(): boolean {
        return this.isEnabled;
    }

    public set enabled(enabled: boolean) {
        this.isEnabled = enabled;
    }
}

OgTableNavigableService.$inject = [];