1

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

1615903
  • 32,635
  • 12
  • 70
  • 99
blackHawk
  • 6,047
  • 13
  • 57
  • 100

3 Answers3

1

Ionic 2 is built using Typescript (same as Angular 2) and Sass. We have found that Typescript is really great for open-source development since the compiler and static types eliminate an entire class of potential issues.

Ionic 2 will support traditional 'desktop' web, mobile web/progressive web apps, hybrid apps like Ionic 2, and even hybrid 'desktop' apps via Electron.

Dan Bucholtz
  • 713
  • 1
  • 5
  • 11
1

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

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.

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

And the SASS one:

Thierry Templier
  • 198,364
  • 44
  • 396
  • 360
  • What about directives for rendering ionic2 tags, where I can find these libraries – blackHawk May 06 '16 at 06:52
  • I can't see components for this. I think that you could leverage an existing one (according to your needs) and add some CSS classes to customize it to look like a tag ;-) – Thierry Templier May 06 '16 at 07:03
  • btw what makes tags to render – blackHawk May 06 '16 at 07:21
  • I need your assistance here ;) http://stackoverflow.com/questions/37129890/how-to-import-youtube-iframe-api-in-ionic2-page – blackHawk May 10 '16 at 05:26
  • I need your assistance here @Thierry http://stackoverflow.com/questions/37133215/the-target-origin-provided-does-not-match-the-recipient-windows-origin-adio-is – blackHawk May 10 '16 at 10:13
0

Ionic runs within Apache Cordova (PhoneGap). Ionic is a combination of javascript, html and css files written for you, so that you don't have to write them yourself and concentrate on your application.

So, basically you want to learn in what programming language Cordova has been written? As you can see on GitHub, it uses different languages for different platforms. Mostly Objective-C for iOS, Java for Android, etc.

Uzbekjon
  • 11,655
  • 3
  • 37
  • 54
  • Actually I need to use ionic 2 component else where other than within Ionic framework for example in Angular2, so the component of Ionic should render in angular as if they were in Ionic framework itself – blackHawk May 05 '16 at 19:58
  • @blackhawk, why not just use Ionic 2, then, since Ionic is components + angular + other great stuff too. – Dan Bucholtz May 06 '16 at 17:53