码迷,mamicode.com
首页 >  
搜索关键字:ts    ( 1597个结果
[Vue + TS] Use Properties in Vue Components Using @Prop Decorator with TypeScript
With properties we can follow a one-way parent→child flow communication between components. This lesson shows you how you can pass down properties to ...
分类:其他好文   时间:2017-09-13 18:28:38    阅读次数:287
将ts文件合并为mp4命令
参考:http://blog.sina.com.cn/s/blog_66b4f1180102uzxs.html ...
分类:其他好文   时间:2017-09-13 14:00:11    阅读次数:776
[Vue + TS] Create Type-Safe Vue Directives in TypeScript
Directives allow us to apply DOM manipulations as side effects. We’ll show you how you can create your own Vue directive to change a component’s color ...
分类:其他好文   时间:2017-09-12 16:51:46    阅读次数:369
[Vue + TS] Using Route events inside Vue
vue-router introduces new hooks into the component. In this lesson we’ll show you how to use these new hooks in your class based Vue components in Typ ...
分类:其他好文   时间:2017-09-11 23:02:03    阅读次数:388
如何在Angular2-cli中使用插件(不使用配置)
重要点:要把插件放在src/assets文件中如何在angular-cli中使用jquery插件a.在index.html中引入<scriptsrc="./assets/jquery-1.8.3.min.js"></script>b.在要使用jquery的组件中声明(XX.component.ts)declarevar$:any;c.导入onInitimport{OnInit}from‘@angular/cor..
分类:其他好文   时间:2017-09-11 22:54:05    阅读次数:200
关于ionic2 更新到ionic3 后组件不能用的解决方案
错误代码就不贴出来了,直接上代码吧! 首先在xx.module.ts添加 1.import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; 2.添加 schemas:[ CUSTOM_ELEMENTS_SCHEMA ] 完成后的整体代码是这样的 im ...
分类:其他好文   时间:2017-09-11 19:55:35    阅读次数:213
php版本选择
如果是采用IIS+ISAPI的话,就是使用TS版本。如果是采用IIS+FastCGI的话,就使用NTS版本。 ...
分类:Web程序   时间:2017-09-10 17:45:03    阅读次数:189
[TypeScript] Type check JavaScript files using JSDoc and Typescript 2.5
Typescript 2.5 adds JSDoc type assertion support for javascript file via ts-check service. First of all, you should make sure you have typescript@2.5 ...
分类:编程语言   时间:2017-09-09 21:37:29    阅读次数:147
gemotry空间数据解析 地图划线
1.ts代码 /** * @version:1.0.0 * @author: zb * @创建时间: 2017-05-25 18:22:35 */ import { Component, OnInit, OnDestroy } from '@angular/core'; import { Activ ...
分类:其他好文   时间:2017-09-08 18:30:14    阅读次数:296
VS Code中Ionic serve命令 执行跳出的问题
项目情况:用vscode编写的ionic(tab类型)项目(具体使用到的技术Angular\Typescrip\Ionic) 具体情况如下: 找到的可能原因: 出错的项目情况:在一个ts文件中编写两个组件,并且分别为两个组件定义了一个Html页面。 ionic项目中一个ts文件不支持为每一个组件调用 ...
分类:其他好文   时间:2017-09-07 19:39:17    阅读次数:144
1597条   上一页 1 ... 89 90 91 92 93 ... 160 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!