Ionic 2的语言是什么? [英] What is the language Ionic 2 is built on

查看:285
本文介绍了Ionic 2的语言是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

离子2背后的编程语言是什么,在github上我只能看到离子2的标签的css类而不是标签的实际代码,我在哪里可以找到这个,离子2的标签的实现

What programming language is behind ionic 2, on github i can only see css classes for tags of ionic 2 not the actual code of tag, where exactly I can find this, the implementation of tags of ionic 2

推荐答案

Ionic2是使用TypeScript和Sass编写的。它还利用了Angular2提供的元素(组件,指令......)和机制。

Ionic2 is written using TypeScript and Sass. It also leverages elements (Component, Directive, ...) and mechanisms provided by Angular2.

可以在Github中访问框架的源代码: https://github.com/driftyco/ionic/tree/2.0/ionic

The source code of the framework can be reached in Github: https://github.com/driftyco/ionic/tree/2.0/ionic.

如果您查找组件的源代码,可以查看组件文件夹。

If you look for the source code of components, you could have a look at the components folder.

例如对于制表符,这里是相应的TypeScript源代码:

For example for tabs, here is the corresponding TypeScript source code:

和SASS一:


  • < a href =https://github.com/driftyco/ionic/blob/2.0/ionic/components/tabs/tabs.scss\"rel =nofollow> https://github.com/driftyco/ionic/blob/ 2.0 / ionic / components / tabs / tabs.scss

  • ...

这篇关于Ionic 2的语言是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆