当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript popup.service.PopupInfo类代码示例

本文整理汇总了TypeScript中jigsaw/service/popup.service.PopupInfo的典型用法代码示例。如果您正苦于以下问题:TypeScript service.PopupInfo类的具体用法?TypeScript service.PopupInfo怎么用?TypeScript service.PopupInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了service.PopupInfo类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: close

 close(info: PopupInfo) {
     info.dispose();
 }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:3,代码来源:title.ts

示例2: Number

    popupDialog1(ele: TemplateRef<any>) {
        this.option.posOffset = {
            top: this.offset.top === null ? this.offset.top : Number(this.offset.top),
            left: this.offset.left === null ? this.offset.left : Number(this.offset.left),
            right: this.offset.right === null ? this.offset.right : Number(this.offset.right),
            bottom: this.offset.bottom === null ? this.offset.bottom : Number(this.offset.bottom)
        };

        if (this.selectedPos.label != "point") {
            this.option.pos = this.selectedPos.ele;
        } else {
            this.option.pos = {
                x: this.detailPos.x === null ? this.detailPos.x : Number(this.detailPos.x),
                y: this.detailPos.y === null ? this.detailPos.y : Number(this.detailPos.y),
            };
        }

        if(this._dialogInfo){
            this._dialogInfo.dispose();
        }

        this._dialogInfo = this.popupService.popup(ele, this.option);
    }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:23,代码来源:popUpOption.ts

示例3:

this._disposer = () => {this._popupInfo.dispose()}
开发者ID:jiw0220,项目名称:jigsaw,代码行数:1,代码来源:withPopup.ts

示例4: close

 close() {
     this._tooltipInfo.dispose();
 }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:3,代码来源:demo.ts

示例5: close

 close() {
     this._dialogInfo.dispose();
 }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:3,代码来源:popUpOption.ts

示例6: closeGlobalLoading

 closeGlobalLoading(){
     if(this.globalLoading){
         this.globalLoading.dispose();
         this.globalLoading = null;
     }
 }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:6,代码来源:loading.ts

示例7: closeBlockLoading

 closeBlockLoading() {
     if (this.blockLoading) {
         this.blockLoading.dispose();
         this.blockLoading = null;
     }
 }
开发者ID:jiw0220,项目名称:jigsaw,代码行数:6,代码来源:loading.ts


注:本文中的jigsaw/service/popup.service.PopupInfo类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。