• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

TypeScript bootstrap.Modal类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: openGeoint

 openGeoint() {
   this.modal.open(
     CustomModal,
     overlayConfigFactory(
       {
         isBlocking: false,
         title: 'GEOINT',
         image: 'geoint.png',
         content: '24/06/17 – The Visint Corps of the NCA captured successfully the Islamic State’s leader in Yemen, Abu Bilal al-Harby:',
       },
       BSModalContext,
     ),
   );
 }
开发者ID:MouseUX,项目名称:exact,代码行数:14,代码来源:reporter2.component.ts


示例2: openOsint

 openOsint() {
   this.modal.open(
     CustomModal,
     overlayConfigFactory(
       {
         isBlocking: false,
         title: 'OSINT',
         image: 'socialnetworks.png',
         content: '',
       },
       BSModalContext,
     ),
   );
 }
开发者ID:MouseUX,项目名称:exact,代码行数:14,代码来源:reporter2.component.ts


示例3: openSigint

 openSigint() {
   this.modal.open(
     CustomModal,
     overlayConfigFactory(
       {
         isBlocking: false,
         title: 'SIGINT',
         image: 'sigint.png',
         content:
           '24/06/17 – The Saudi Intelligence units of the Interior Ministry intercepted a phone call between two men, who are associated with ISIS, in which they had planned to commit a double suicide attack on the Grand Mosque in Mecca, at the peak of the Hajj.',
       },
       BSModalContext,
     ),
   );
 }
开发者ID:MouseUX,项目名称:exact,代码行数:15,代码来源:reporter2.component.ts


示例4: openModal

  openModal() {
    this.modal.open(
      CustomModal,
      overlayConfigFactory(
        {
          isBlocking: false,
          title: 'اليمن: الحوثيون يطلقون صاروخا على سفينة إماراتية',
          image: 'yemens stability 7 arabic.jpg',
          content:           'اطلق الحوثيون في الليلة الفاصلة لأمس الأربعاء واليوم الخميس 15 جوان 2017، صاروخا على سفينة إماراتية قبالة ساحل اليمن مما أسفر عن إصابة أحد أفراد الطاقم.\n\nوجاء في بيان لوكالة الأنباء السعودية نقلا "تعرضت سفينة إماراتية لدى خروجها من ميناء المخا اليمني لهجوم بصاروخ موجه نفذته الميليشيات الحوثية، دون أن يسفر عن أضرار في السفينة... ونتج عن ذلك إصابة شخص واحد من الطاقم"\nويجدر الذكر أن ميناء المخا المطل على البحر الأحمر قريب من مضيق باب المندب الذي تمر عبره معظم شحنات النفط بالعالم.',

        },
        BSModalContext,
      ),
  );
  }
开发者ID:MouseUX,项目名称:exact,代码行数:15,代码来源:entity.component.ts


示例5: openHumint

  openHumint() {
    this.modal.open(
      CustomModal,
      overlayConfigFactory(
        {
          isBlocking: false,
          title: 'HUMINT',
          image: 'humint.png',
          content:
            '09/09/16 – CIA Humint reports indicate that Islamic state and al-Qaeda in the Arabian Peninsula (AQAP) are working together in Yemen in order to maximise their efficiency in counteracting counterterrorism, as opposed to the way al-Qaeda branches and IS do in their remainder territories.\
',
        },
        BSModalContext,
      ),
    );
  }
开发者ID:MouseUX,项目名称:exact,代码行数:16,代码来源:reporter2.component.ts


示例6: openCyber

  openCyber() {
    this.modal.open(
      CustomModal,
      overlayConfigFactory(
        {
          isBlocking: false,
          title: 'CYBER',
          image: 'cyber.png',
          content:
            '09/05/16 – At the end of April 2015, the US Government announced the first attack conducted by the Cyber Command against online activities conducted by members of the ISIS. The war against the Islamic State also has cyberspace as a battlefield, for this reason, the US Cyber Command plans to run hacking operations and uses cyber weapons to destroy computer systems used by the ISIL, to destroy it functions (e.g. propaganda, economic support to militants) and to track its cyber hubs.\
At the recent meeting held in Hanover, Germany, the US President Barack Obama discussed with other leaders about the cyber strategy to contrast the Islamic State online.\
In March, Senior Pentagon officials confirmed the US Army’s first use of information warfare operations against the Islamic State as part of the campaign conducted to take back the Iraqi city of Mosul.\
The US military is using cyber tools to contrast the ISIS troops in the area, interfering members’ operation and communication.\
Skill shortage\
Security experts believe that the IS could speed up the growth of its cyber capabilities by paying cyber mercenaries or recruiting young hackers.\
Earlier 2016, intelligence experts reported that members of the IS were willing to pay Indian hackers to hack into government websites and gain access to sensitive documents. The members of the ISIS aim to create a database of potential Indian candidates from social media, who will hack government websites will receive up to $10,000 for every successful security breach.\
“There are various underground communities online where hackers interact regularly. Our investigation reveals that for the past six months, lucrative offers for stealing government data came pouring in and hackers were offered a huge sum. Such amount has never been offered to any Indian hacker before. We found that the offers were being made to spread ISIS reach in the country,” said the cyber-crime expert Kislay Choudhary.\
The hack of Government systems could allow terrorists to gather intelligence on their targets; the intelligence is aware that the Dash is focusing its recruiting activity on the Indian hacking community; many hackers are based out of various parts of South India, including Kashmir, Maharashtra, and Rajasthan.\
',
        },
        BSModalContext,
      ),
    );
  }
开发者ID:MouseUX,项目名称:exact,代码行数:24,代码来源:reporter2.component.ts


示例7: deleteEntity

  deleteEntity(id: number) {
    this.errorMessage = null;

    const dialog = this.modal.confirm()
      .title('Deleting Author')
      .body('Do you really want to delete this Author?')
      .open()
      .then((resultPromise) => {
        resultPromise.result.then((result) => {

          this._authorService.delete(id)
            .then(
            res => {
              if (res == true) {
                this.updateGrid();
              } else {
                this.errorMessage = 'Error while sending your request!';
              }

            },
            error => this.errorMessage = error)
            .catch((ex) => {
              this.handleError(ex);
            });
        },
          () => {
            //console.log("deleteEntity dialog - cancel");
          });
      });
  }
开发者ID:AlekBro,项目名称:SimpleBookList,代码行数:30,代码来源:authors.component.ts


示例8: alert

 alert(content: string, title: string) {
   this.modal.alert()
     .size('lg')
     .showClose(true)
     .title(title)
     .body(content).open();
 }
开发者ID:empirefox,项目名称:ec-front,代码行数:7,代码来源:modal.service.ts


示例9: handleError

 private handleError(path: string, res: Response): void {
     var title = 'Error';
     var message = 'Request to <strong>' + this.getUrl(path) + '</strong> has returned <strong>' + res.status + '</strong>.';
     this.modal.alert()
         .titleHtml('<h3 class="modal-title text-danger">' + title + '</h3>')
         .body('<span class="text-danger">' + message + '</span>')
         .open();
 }
开发者ID:htwg-cloud-application-development,项目名称:frontend,代码行数:8,代码来源:rest.service.ts


示例10: onClick

 onClick() {
     this.modal.alert()
         .size('lg')
         .showClose(true)
         .title('A simple Alert style modal window')
         .body(`
         <h4>Alert is a classic (title/body/footer) 1 button modal window that 
         does not block.</h4>
         <b>Configuration:</b>
         <ul>
             <li>Non blocking (click anywhere outside to dismiss)</li>
             <li>Size large</li>
             <li>Dismissed with default keyboard key (ESC)</li>
             <li>Close wth button click</li>
             <li>HTML content</li>
         </ul>`)
         .open();
 }
开发者ID:EasonBlack,项目名称:angular2-study,代码行数:18,代码来源:app.component.ts



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
TypeScript index.Modal类代码示例发布时间:2022-05-28
下一篇:
TypeScript angular2-modal.Modal类代码示例发布时间:2022-05-28
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap