Name | Type | Default |
---|---|---|
autoOpen | Boolean | true |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} autoOpen={false}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
animationType | String | fade |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} animationType={'slide'}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
collapsed | Boolean | false |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} collapsed={true}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
collapseAnimationDuration | Number | 150 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} collapseAnimationDuration={3000}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
content | String | '' |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} content={'New Content'}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
closeAnimationDuration | Number | 350 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} closeAnimationDuration={3000}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
closeButtonSize | Number | 16 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} closeButtonSize={20}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
closeButtonAction | String | hide |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} closeButtonAction={'close'}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
cancelButton | Object | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} cancelButton={cancelButton}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
dragArea | Object | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} dragArea={dragArea}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
draggable | Boolean | true |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} draggable={false}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
disabled | Boolean | false |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} disabled={true}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
height | Number | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
initContent | Function | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} initContent={initContent}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
isModal | Boolean | false |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} isModal={true}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
keyboardCloseKey | Number | 'esc' |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} keyboardCloseKey={32}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
keyboardNavigation | Boolean | true |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} keyboardNavigation={false}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
minHeight | Number | 50 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
maxHeight | Number | 600 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
minWidth | Number | 50 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} minWidth={100}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
maxWidth | Number | 600 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} maxWidth={300}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
modalOpacity | Number | 0.3 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} modalOpacity={0.5}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
modalZIndex | Number | 18000 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} modalZIndex={9999}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
modalBackgroundZIndex | Number | 12990 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} modalBackgroundZIndex={9999}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
okButton | Object | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} okButton={okButton}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
position | Object | center |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} position={top,left}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
rtl | Boolean | false |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} rtl={true}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
resizable | Boolean | true |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} resizable={false}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
showAnimationDuration | Number | 350 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} showAnimationDuration={3000}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
showCloseButton | Boolean | true |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} showCloseButton={false}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
showCollapseButton | Boolean | false |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} showCollapseButton={true}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
theme | String | '' |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} theme={'energyblue'}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
title | String | '' |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} title={'Title'}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
width | Number | null |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
zIndex | Number | 9001 |
Sets or gets the import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { render() { return ( <JqxWindow ref='myWindow' width={500} height={400} minHeight={300} minWidth={300} zIndex={9999}> <div>About 30 St Mary Axe</div> <div> <h3>30 St Mary Axe</h3> <p>The Swiss Re Building (colloquially referred to as the Gherkin)...</p> <p>The building is on the former site of the Baltic Exchange building....</p> </div> </JqxWindow> ) } } ReactDOM.render(<App />, document.getElementById('app')); |
||
Events |
||
close | Event | |
This event is triggered when the window is closed. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('close', (event) => { // Do Something... }); } |
||
collapse | Event | |
This event is triggered when the window is collapsed. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('collapse', (event) => { // Do Something... }); } |
||
created | Event | |
This event is triggered when the user create new window. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('created', (event) => { // Do Something... }); } |
||
expand | Event | |
This event is triggered when the window is expanded. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('expand', (event) => { // Do Something... }); } |
||
moving | Event | |
This event is triggered when the window is dragging by the user. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('moving', (event) => { // Do Something... }); } |
||
moved | Event | |
This event is triggered when the window is dropped by the user. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('moved', (event) => { // Do Something... }); } |
||
open | Event | |
This event is triggered when the window is displayed. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('open', (event) => { // Do Something... }); } |
||
resizing | Event | |
This event is triggered when the end-user is resizing the window. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('resizing', (event) => { // Do Something... }); } |
||
resized | Event | |
This event is triggered when the end-user has resized the window. Code examples
Bind to the
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.on('resized', (event) => { // Do Something... }); } |
||
Methods |
||
Name | Return Type | |
bringToFront | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.bringToFront(); } |
||
close | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.close(); } |
||
collapse | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.collapse(); } |
||
closeAll | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.closeAll(); } |
||
disable | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.disable(); } |
||
destroy | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.destroy(); } |
||
enable | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.enable(); } |
||
expand | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.expand(); } |
||
focus | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.focus(); } |
||
isOpen | Boolean | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { let value = this.refs.myWindow.isOpen(); } |
||
move | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.move(); } |
||
open | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.open(); } |
||
hide | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.hide(); } |
||
resize | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.resize(); } |
||
setTitle | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.setTitle(); } |
||
setContent | None | |
import React from 'react'; import ReactDOM from 'react-dom'; import JqxWindow from 'jqwidgets-react/react_jqxwindow.js'; class App extends React.Component { componentDidMount() { this.refs.myWindow.setContent(); } |