jQuery/JS Common - Object Structures - positionConfig - my
Specifies the overlay element's side or corner to align with a target element.
Accepted Values: 'bottom' | 'center' | 'left' | 'left bottom' | 'left top' | 'right' | 'right bottom' | 'right top' | 'top'
To set this option, use an object with the x and y fields. These fields specify the overlay element's horizontal and vertical sides, respectively. Alternatively, you can use a string shortcut from the accepted values list.
index.js
- $(function() {
- $("#popupContainer").dxPopup({
- // ...
- position: {
- // ...
- my: "left top"
- // ===== or =====
- my: { x: "left", y: "top" }
- }
- });
- });
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.