All Downloads are FREE. Search and download functionalities are using the official Maven repository.

samples.widgets.react-modal.poc Maven / Gradle / Ivy

The newest version!
// this example uses React Bootstrap 3 widgets
widget Minimal extends ReactWidget {

    method showModal() {
        showReactModal();
    }

	Html method render () {
	    return ;
	}

}


widget Dialog extends ReactWidget {

    method getInitialState() {
        return { show: true };
    }

    method cancel() {
        setState({ show: false });
        hideReactModal();
    }

    method render() {
        state = getState();
        return 
                    
                        Some title
                    
                    
                        Hello
                    
                    
                        
                    
                ;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy