File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,15 @@ export interface TriggerProps {
155155 destroyPopupOnHide? : boolean ;
156156 /** 设置弹出框的zIndex */
157157 zIndex? : number ;
158+ /** popup位置最终适配方法 */
159+ adjustPosition? : (
160+ dom : HTMLElement ,
161+ pos : {
162+ left: number ;
163+ top: number ;
164+ },
165+ feedback : Feedback
166+ ) => void ;
158167 /** 是否使用Portal进行渲染弹出框 */
159168 usePortal? : boolean ;
160169 /** 当destroyPopupOnHide=false时,组件刷新时强制更新弹出框组件 */
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ export interface TriggerProps {
115115 forceRender ?: boolean ;
116116 /** jquery-ui/position.js 的配置参数 */
117117 position ?: PositionOptions ;
118+ /** popup位置最终适配方法 */
118119 adjustPosition ?: (
119120 dom : HTMLElement ,
120121 pos : {
You can’t perform that action at this time.
0 commit comments