How to use the reactxp.Accessibility function in reactxp

To help you get started, we’ve selected a few reactxp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / reactxp / extensions / virtuallistview / src / VirtualListView.tsx View on Github external
componentDidMount() {
        RX.Accessibility.screenReaderChangedEvent.subscribe(this._screenReaderStateChanged);

        if (RX.Accessibility.isScreenReaderEnabled()) {
            this._setupForAccessibility();
        }

        this._isMounted = true;
        this._componentDidRender();

        // If an initial selection key was provided, ensure that we scroll to the item
        if (this.props.initialSelectedKey) {
            this._scrollToItemKey(this.props.initialSelectedKey);
        }
    }
github microsoft / reactxp / extensions / virtuallistview / src / VirtualListView.tsx View on Github external
componentDidMount() {
        RX.Accessibility.screenReaderChangedEvent.subscribe(this._screenReaderStateChanged);

        if (RX.Accessibility.isScreenReaderEnabled()) {
            this._setupForAccessibility();
        }

        this._isMounted = true;
        this._componentDidRender();

        // If an initial selection key was provided, ensure that we scroll to the item
        if (this.props.initialSelectedKey) {
            this._scrollToItemKey(this.props.initialSelectedKey);
        }
    }

reactxp

Cross-platform abstraction layer for writing React-based applications a single time that work identically across web, React Native, and Electron distribution

MIT
Latest version published 5 years ago

Package Health Score

59 / 100
Full package analysis