How to use the dotnetify.offline function in dotnetify

To help you get started, we’ve selected a few dotnetify 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 dsuryd / dotnetify-react-demo / Promise / src / Promise.jsx View on Github external
constructor(props) {
        super(props);
        
        dotnetify.offline = true;
        this.vm = dotnetify.react.connect(this.props.viewModel, this);
    }
    componentWillUnmount = () => this.vm.$destroy();