| Name | Type | Default |
|
autoOpen
# |
Boolean
|
true
|
Sets or gets whether the window will be shown after it's creation.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :autoOpen="true">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
animationType
# |
String
|
fade
|
Sets or gets window's close and show animation type.
Possible Values:
'none'
'fade'
'slide'
'combined'
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :animationType="'slide'">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
collapsed
# |
Boolean
|
false
|
Determines whether the window is collapsed.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:showCollapseButton="true"
:collapsed="true"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
collapseAnimationDuration
# |
Number
|
150
|
Determines the duration in milliseconds of the expand/collapse animation.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:showCollapseButton="true"
:collapseAnimationDuration="3000"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
content
# |
String
|
''
|
Sets or gets window's content's html content.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :content="'New Content'">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
closeAnimationDuration
# |
Number
|
350
|
Sets or gets window's close animation duration.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:closeAnimationDuration="3000"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
closeButtonSize
# |
Number
|
16
|
Sets or gets window's close button size.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :closeButtonSize="20">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
closeButtonAction
# |
String
|
hide
|
This setting specifies what happens when the user clicks the jqxWindow's close button.
Possible Values:
'hide'
'close'-clicking the close button removes the window from the DOM
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:closeButtonAction="'close'"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
cancelButton
# |
Object | String
|
null
|
Sets or gets cancel button. When a cancel button is specified you can use this button to interact with the user. When any user press the cancel button window is going to be closed and the dialog result will be in the following format: { OK: false, Cancel: true, None: false }.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:cancelButton="cancelButton"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const cancelButton = ref('#cancel');
</script>
|
|
dragArea
# |
Object
|
null
|
Sets or gets the screen area which is available for dragging(moving) the jqxWindow. Example value: { left: 300, top: 300, width: 600, height: 600 }. By default, the dragArea is null which means that the users will be able to drag the window in the document's body bounds.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :dragArea="dragArea">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const dragArea = ref({ left: 100, top: 100, width: 500, height: 400 });
</script>
|
|
draggable
# |
Boolean
|
true
|
Sets or gets whether the window is draggable.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :draggable="false">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
disabled
# |
Boolean
|
false
|
Sets or gets whether the window is disabled.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :disabled="true">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
height
# |
Number | String
|
null
|
Sets or gets the window's height.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :height="220">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
initContent
# |
Function
|
null
|
Initializes the jqxWindow's content.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:initContent="initContent"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function initContent() {
jqwidgets.createInstance('#ok', 'jqxButton', { width: 50, height: 50 });
}
</script>
|
|
isModal
# |
Boolean
|
false
|
Sets or gets whether the window is displayed as a modal dialog. If the jqxWindow's mode is set to modal, the window blocks user interaction with the underlying user interface.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :isModal="true">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
keyboardCloseKey
# |
Number
|
'esc'
|
Sets or gets the key which could be used for closing the window when it's on focus. Possible value is every keycode and the 'esc' string (for the escape key).
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :keyboardCloseKey="32">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
keyboardNavigation
# |
Boolean
|
true
|
Determines whether the keyboard navigation is enabled or disabled.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:keyboardNavigation="false"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
minHeight
# |
Number
|
50
|
Sets or gets window's minimum height.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :minHeight="150">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
maxHeight
# |
Number
|
600
|
Sets or gets window's maximum height.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :maxHeight="250">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
minWidth
# |
Number
|
50
|
Sets or gets window's minimum width.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :minWidth="200">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
maxWidth
# |
Number
|
600
|
Sets or gets window's maximum width.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :maxWidth="350">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
modalOpacity
# |
Number | String
|
0.3
|
Sets or gets the jqxWindow's background displayed over the underlying user interface when the window is in modal dialog mode.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:isModal="true"
:modalOpacity="0.3"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
modalZIndex
# |
Number
|
18000
|
Sets or gets the jqxWindow's z-index when it is displayed as a modal dialog.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:isModal="true"
:modalZIndex="9999"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
modalBackgroundZIndex
# |
Number
|
12990
|
Sets or gets the jqxWindow overlay's z-index when it is displayed as a modal dialog.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:isModal="true"
:modalBackgroundZIndex="9999"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
okButton
# |
String | Object
|
null
|
Sets or gets submit button. When a ok/submit button is specified you can use this button to interact with the user. When any user press the submit button window is going to be closed and the dialog result will be in the following format: { OK: true, Cancel: false, None: false }.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :okButton="okButton">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const okButton = ref('#ok');
</script>
|
|
position
# |
String | Object
|
center
|
Sets or gets window's position. The value could be in the following formats: 'center', 'top, left', '{ x: 300, y: 500 }', '[300, 500]'.
<template>
<JqxWindow ref="myWindow" :width="300" :position="position">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const position = ref('top,left');
</script>
|
|
rtl
# |
Boolean
|
false
|
Sets or gets a value indicating whether widget's elements are aligned to support locales using right-to-left fonts.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :rtl="true">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
resizable
# |
Boolean
|
true
|
Enables or disables whether the end-user can resize the window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :resizable="false">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
showAnimationDuration
# |
Number
|
350
|
Sets or gets window's show animation duration.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:autoOpen="false"
:position="{ x: 100, y: 100 }"
:showAnimationDuration="3000"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.open();
});
</script>
|
|
showCloseButton
# |
Boolean
|
true
|
Sets or gets whether a close button will be visible.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :showCloseButton="false">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
showCollapseButton
# |
Boolean
|
false
|
Sets or gets whether the collapse button will be visible.
<template>
<JqxWindow
ref="myWindow"
:width="300"
:position="{ x: 100, y: 100 }"
:showCollapseButton="true"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
theme
# |
String
|
''
|
Sets the widget's theme.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :theme="'material'">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
title
# |
String
|
''
|
Sets or gets window's title content.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :title="'Title'">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
width
# |
Number | String
|
null
|
Sets or gets the window's width.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
zIndex
# |
Number
|
9001
|
Sets or gets the jqxWindow z-index.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :zIndex="9999">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
</script>
|
|
|
|
close
# |
Event
|
|
This event is triggered when the window is closed.
Code examples #
Bind to the close event of jqxWindow.
<template>
<JqxWindow ref="myWindow" @close="onClose($event)" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function onClose(event) {
alert('do something...');
}
</script>
|
|
collapse
# |
Event
|
|
This event is triggered when the window is collapsed.
Code examples #
Bind to the collapse event of jqxWindow.
<template>
<JqxWindow
ref="myWindow"
@collapse="onCollapse($event)"
:width="300"
:position="{ x: 100, y: 100 }"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
function onCollapse(event) {
alert('do something...');
}
onMounted(() => {
myWindow.value.showCollapseButton = true;
});
</script>
|
|
expand
# |
Event
|
|
This event is triggered when the window is expanded.
Code examples #
Bind to the expand event of jqxWindow.
<template>
<JqxWindow
ref="myWindow"
@expand="onExpand($event)"
:width="300"
:position="{ x: 100, y: 100 }"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
function onExpand(event) {
alert('do something...');
}
onMounted(() => {
myWindow.value.showCollapseButton = true;
});
</script>
|
|
moving
# |
Event
|
|
This event is triggered when the window is dragging by the user.
Code examples #
Bind to the moving event of jqxWindow.
<template>
<JqxWindow
ref="myWindow"
@moving="onMoving($event)"
:width="300"
:position="{ x: 100, y: 100 }"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function onMoving(event) {
alert('do something...');
}
</script>
|
|
moved
# |
Event
|
|
This event is triggered when the window is dropped by the user.
Code examples #
Bind to the moved event of jqxWindow.
<template>
<JqxWindow ref="myWindow" @moved="onMoved($event)" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function onMoved(event) {
alert('do something...');
}
</script>
|
|
open
# |
Event
|
|
This event is triggered when the window is displayed.
Code examples #
Bind to the open event of jqxWindow.
<template>
<div>
<JqxWindow
ref="myWindow"
@open="onOpen($event)"
:width="300"
:position="{ x: 100, y: 100 }"
:autoOpen="false"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to
take advantage of features intended to facilitate manual assembly coding, and that
complex addressing modes take many cycles to perform due to the required additional
memory accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
<JqxButton style="width: 100px" @click="openWindow()">Open</JqxButton>
</div>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
import JqxButton from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxbuttons.vue';
const myWindow = ref(null);
function onOpen(event) {
alert('do something...');
}
function openWindow() {
myWindow.value.open();
}
</script>
|
|
resizing
# |
Event
|
|
This event is triggered when the end-user is resizing the window.
Code examples #
Bind to the resizing event of jqxWindow.
<template>
<JqxWindow
ref="myWindow"
@resizing="onResizing($event)"
:width="300"
:position="{ x: 100, y: 100 }"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function onResizing(event) {
alert('do something...');
}
</script>
|
|
resized
# |
Event
|
|
This event is triggered when the end-user has resized the window.
Code examples #
Bind to the resized event of jqxWindow.
<template>
<JqxWindow
ref="myWindow"
@resized="onResized($event)"
:width="300"
:position="{ x: 100, y: 100 }"
>
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
function onResized(event) {
alert('do something...');
}
</script>
|
|
|
| Name | Arguments | Return Type |
|
bringToFront
# |
None
|
None
|
Bringing the window to the front.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.bringToFront();
});
</script>
|
|
close
# |
None
|
None
|
Hiding/closing the current window (the action - hide or close depends on the closeButtonAction).
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.close();
});
</script>
|
|
collapse
# |
None
|
None
|
Collapse the current window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.collapse();
});
</script>
|
|
closeAll
# |
None
|
None
|
Closing all open windows which are not modal.
<template>
<div>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>Header</div>
<div>Content</div>
</JqxWindow>
<JqxWindow ref="myWindow2" :width="300" :position="{ x: 100, y: 200 }">
<div>Header</div>
<div>Content</div>
</JqxWindow>
<jqxButton style="width: 100px" @click="closeAll()">Close All</jqxButton>
</div>
</template>
<script setup>
import { ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
import JqxButton from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxbuttons.vue';
const myWindow = ref(null);
function closeAll(event) {
myWindow.value.closeAll();
}
</script>
|
|
disable
# |
None
|
None
|
Disabling the window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.disable();
});
</script>
|
|
destroy
# |
None
|
None
|
Destroys the widget.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.destroy();
});
</script>
|
|
enable
# |
None
|
None
|
Enabling the window
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.disabled = true;
myWindow.value.enable();
});
</script>
|
|
expand
# |
None
|
None
|
Expand the current window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.collapsed = true;
myWindow.value.expand();
});
</script>
|
|
focus
# |
None
|
None
|
Focuses the window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.focus();
});
</script>
|
|
isOpen
# |
None
|
Boolean
|
Returns true when jqxWindow is opened and false when the jqxWindow is closed
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
const value = myWindow.value.isOpen();
});
</script>
|
|
move
# |
top, left
|
None
|
Moving the current window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.move(300, 600);
});
</script>
|
|
open
# |
None
|
None
|
Opening/showing the current window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }" :autoOpen="false">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.open();
});
</script>
|
|
openConfirm
# |
None
|
None
|
Opening/showing the current window's confirm.
<template>
<JqxWindow ref="myWindow"
:width="300" :position='{ x: 100, y: 100}' :autoOpen="false">
<div>
RISC
</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable
to take advantage of features intended to facilitate manual assembly coding, and
that complex addressing modes take many cycles to perform due to the required additional
memory accesses...
<p>
<input type='button' id='ok' value='OK' />
<input type='button' id='cancel' value='Cancel' />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.open();
});
</script>
|
|
openAlert
# |
None
|
None
|
Opening/showing the current window's Alert.
<template>
<JqxWindow ref="myWindow"
:width="300" :position='{ x: 100, y: 100}' :autoOpen="false">
<div>
RISC
</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable
to take advantage of features intended to facilitate manual assembly coding, and
that complex addressing modes take many cycles to perform due to the required additional
memory accesses...
<p>
<input type='button' id='ok' value='OK' />
<input type='button' id='cancel' value='Cancel' />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from "vue";
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.open();
});
</script>
|
|
hide
# |
None
|
None
|
Hiding the current window.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.hide();
});
</script>
|
|
resize
# |
top, left
|
None
|
Resizes the window. The 'resizable' property is expected to be set to "true".
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.resize(300, 300);
});
</script>
|
|
setTitle
# |
title
|
None
|
Setting window's title
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.setTitle('New Title');
});
</script>
|
|
setContent
# |
content
|
None
|
Setting window's content.
<template>
<JqxWindow ref="myWindow" :width="300" :position="{ x: 100, y: 100 }">
<div>RISC</div>
<div>
Some aspects attributed to the first RISC-labeled designs around 1975 include the
observations that the memory-restricted compilers of the time were often unable to take
advantage of features intended to facilitate manual assembly coding, and that complex
addressing modes take many cycles to perform due to the required additional memory
accesses...
<p>
<input type="button" id="ok" value="OK" />
<input type="button" id="cancel" value="Cancel" />
</p>
</div>
</JqxWindow>
</template>
<script setup>
import { onMounted, ref } from 'vue';
import JqxWindow from 'jqwidgets-scripts/jqwidgets-vue3/vue_jqxwindow.vue';
const myWindow = ref(null);
onMounted(() => {
myWindow.value.setContent('New Content');
});
</script>
|