diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1c0466b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+# Specifies files to intentionally ignore when using Git
+# http://git-scm.com/docs/gitignore
+
+node_modules/
+www/build/
+platforms/
+plugins/
+*.swp
+.DS_Store
+Thumbs.db
diff --git a/app/app.ts b/app/app.ts
new file mode 100644
index 0000000..3654c4b
--- /dev/null
+++ b/app/app.ts
@@ -0,0 +1,20 @@
+import {App, Platform} from 'ionic-angular';
+import {StatusBar} from 'ionic-native';
+import {TabsPage} from './pages/tabs/tabs';
+
+
+@App({
+ template: '',
+ config: {} // http://ionicframework.com/docs/v2/api/config/Config/
+})
+export class MyApp {
+ rootPage: any = TabsPage;
+
+ constructor(platform: Platform) {
+ platform.ready().then(() => {
+ // Okay, so the platform is ready and our plugins are available.
+ // Here you can do any higher level native things you might need.
+ StatusBar.styleDefault();
+ });
+ }
+}
diff --git a/app/pages/modal/modal.ts b/app/pages/modal/modal.ts
new file mode 100644
index 0000000..29fbb03
--- /dev/null
+++ b/app/pages/modal/modal.ts
@@ -0,0 +1,24 @@
+import {Page,NavController,ViewController} from 'ionic-angular';
+
+@Page({
+ template:`
+
+
+
+ `
+})
+
+export class ModalPage {
+
+ constructor( private _nav:NavController,
+ private _view:ViewController
+ ){
+
+ }
+
+ close(){
+ this._view.dismiss();
+ //this._nav.popToRoot();
+ }
+
+}
\ No newline at end of file
diff --git a/app/pages/page1/page1.html b/app/pages/page1/page1.html
new file mode 100644
index 0000000..565a772
--- /dev/null
+++ b/app/pages/page1/page1.html
@@ -0,0 +1,23 @@
+
+ Tab 1
+
+
+
+
+
+
+
+ Seg 1
+ Seg 2
+
+
+
+
+
+
Seg 1
+
Seg 2
+
+
+
+
+
diff --git a/app/pages/page1/page1.scss b/app/pages/page1/page1.scss
new file mode 100644
index 0000000..aaf73ac
--- /dev/null
+++ b/app/pages/page1/page1.scss
@@ -0,0 +1,3 @@
+.page1 {
+
+}
diff --git a/app/pages/page1/page1.ts b/app/pages/page1/page1.ts
new file mode 100644
index 0000000..fa2f165
--- /dev/null
+++ b/app/pages/page1/page1.ts
@@ -0,0 +1,20 @@
+import {Page,Modal,NavController} from 'ionic-angular';
+import {ModalPage} from '../modal/modal';
+
+@Page({
+ templateUrl: 'build/pages/page1/page1.html',
+})
+export class Page1 {
+
+ hometabs:string="seg1";
+
+ constructor(private _nav:NavController) {
+
+ }
+
+ openModal(){
+ let modal=Modal.create(ModalPage);
+ this._nav.present(modal);
+ }
+
+}
diff --git a/app/pages/page2/page2.html b/app/pages/page2/page2.html
new file mode 100644
index 0000000..d500f3f
--- /dev/null
+++ b/app/pages/page2/page2.html
@@ -0,0 +1,10 @@
+
+
+
+ Tab 2
+
+
+
+
+
+
diff --git a/app/pages/page2/page2.scss b/app/pages/page2/page2.scss
new file mode 100644
index 0000000..54db1b7
--- /dev/null
+++ b/app/pages/page2/page2.scss
@@ -0,0 +1,3 @@
+.page2 {
+
+}
diff --git a/app/pages/page2/page2.ts b/app/pages/page2/page2.ts
new file mode 100644
index 0000000..7592fe0
--- /dev/null
+++ b/app/pages/page2/page2.ts
@@ -0,0 +1,11 @@
+import {Page} from 'ionic-angular';
+
+
+@Page({
+ templateUrl: 'build/pages/page2/page2.html',
+})
+export class Page2 {
+ constructor() {
+
+ }
+}
diff --git a/app/pages/page3/page3.html b/app/pages/page3/page3.html
new file mode 100644
index 0000000..ba6559a
--- /dev/null
+++ b/app/pages/page3/page3.html
@@ -0,0 +1,10 @@
+
+
+
+ Tab 3
+
+
+
+
+
+
diff --git a/app/pages/page3/page3.scss b/app/pages/page3/page3.scss
new file mode 100644
index 0000000..a407614
--- /dev/null
+++ b/app/pages/page3/page3.scss
@@ -0,0 +1,3 @@
+.page3 {
+
+}
diff --git a/app/pages/page3/page3.ts b/app/pages/page3/page3.ts
new file mode 100644
index 0000000..9997636
--- /dev/null
+++ b/app/pages/page3/page3.ts
@@ -0,0 +1,11 @@
+import {Page} from 'ionic-angular';
+
+
+@Page({
+ templateUrl: 'build/pages/page3/page3.html'
+})
+export class Page3 {
+ constructor() {
+
+ }
+}
diff --git a/app/pages/tabs/tabs.html b/app/pages/tabs/tabs.html
new file mode 100644
index 0000000..0d05185
--- /dev/null
+++ b/app/pages/tabs/tabs.html
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/app/pages/tabs/tabs.ts b/app/pages/tabs/tabs.ts
new file mode 100644
index 0000000..56b0c09
--- /dev/null
+++ b/app/pages/tabs/tabs.ts
@@ -0,0 +1,25 @@
+import {Page,Modal,NavController} from 'ionic-angular';
+import {Page1} from '../page1/page1';
+import {Page2} from '../page2/page2';
+import {Page3} from '../page3/page3';
+import {ModalPage} from '../modal/modal';
+
+
+@Page({
+ templateUrl: 'build/pages/tabs/tabs.html'
+})
+export class TabsPage {
+ // this tells the tabs component which Pages
+ // should be each tab's root Page
+ tab1Root: any = Page1;
+ tab2Root: any = Page2;
+ tab3Root: any = Page3;
+
+ constructor(private _nav:NavController){}
+
+ openModal(){
+ let modal=Modal.create(ModalPage);
+ this._nav.present(modal);
+ }
+
+}
diff --git a/app/theme/app.core.scss b/app/theme/app.core.scss
new file mode 100644
index 0000000..d6c4b02
--- /dev/null
+++ b/app/theme/app.core.scss
@@ -0,0 +1,12 @@
+// http://ionicframework.com/docs/v2/theming/
+
+
+// App Shared Imports
+// --------------------------------------------------
+// These are the imports which make up the design of this app.
+// By default each design mode includes these shared imports.
+// App Shared Sass variables belong in app.variables.scss.
+
+@import "../pages/page1/page1";
+@import "../pages/page2/page2";
+@import "../pages/page3/page3";
diff --git a/app/theme/app.ios.scss b/app/theme/app.ios.scss
new file mode 100644
index 0000000..2176d6d
--- /dev/null
+++ b/app/theme/app.ios.scss
@@ -0,0 +1,32 @@
+
+// http://ionicframework.com/docs/v2/theming/
+
+
+// App Shared Variables
+// --------------------------------------------------
+// Shared Sass variables go in the app.variables.scss file
+@import 'app.variables';
+
+
+// App iOS Variables
+// --------------------------------------------------
+// iOS only Sass variables can go here
+
+
+// Ionic iOS Sass
+// --------------------------------------------------
+// Custom App variables must be declared before importing Ionic.
+// Ionic will use its default values when a custom variable isn't provided.
+@import 'ionic.ios';
+
+
+// App Shared Sass
+// --------------------------------------------------
+// All Sass files that make up this app goes into the app.core.scss file.
+// For simpler CSS overrides, custom app CSS must come after Ionic's CSS.
+@import 'app.core';
+
+
+// App iOS Only Sass
+// --------------------------------------------------
+// CSS that should only apply to the iOS app
diff --git a/app/theme/app.md.scss b/app/theme/app.md.scss
new file mode 100644
index 0000000..f2bfdcf
--- /dev/null
+++ b/app/theme/app.md.scss
@@ -0,0 +1,31 @@
+// http://ionicframework.com/docs/v2/theming/
+
+
+// App Shared Variables
+// --------------------------------------------------
+// Shared Sass variables go in the app.variables.scss file
+@import 'app.variables';
+
+
+// App Material Design Variables
+// --------------------------------------------------
+// Material Design only Sass variables can go here
+
+
+// Ionic Material Design Sass
+// --------------------------------------------------
+// Custom App variables must be declared before importing Ionic.
+// Ionic will use its default values when a custom variable isn't provided.
+@import 'ionic.md';
+
+
+// App Shared Sass
+// --------------------------------------------------
+// All Sass files that make up this app goes into the app.core.scss file.
+// For simpler CSS overrides, custom app CSS must come after Ionic's CSS.
+@import 'app.core';
+
+
+// App Material Design Only Sass
+// --------------------------------------------------
+// CSS that should only apply to the Material Design app
diff --git a/app/theme/app.variables.scss b/app/theme/app.variables.scss
new file mode 100644
index 0000000..e957916
--- /dev/null
+++ b/app/theme/app.variables.scss
@@ -0,0 +1,35 @@
+// http://ionicframework.com/docs/v2/theming/
+
+// Ionic Shared Functions
+// --------------------------------------------------
+// Makes Ionic Sass functions available to your App
+
+@import 'globals.core';
+
+// App Shared Variables
+// --------------------------------------------------
+// To customize the look and feel of this app, you can override
+// the Sass variables found in Ionic's source scss files. Setting
+// variables before Ionic's Sass will use these variables rather than
+// Ionic's default Sass variable values. App Shared Sass imports belong
+// in the app.core.scss file and not this file. Sass variables specific
+// to the mode belong in either the app.ios.scss or app.md.scss files.
+
+
+// App Shared Color Variables
+// --------------------------------------------------
+// It's highly recommended to change the default colors
+// to match your app's branding. Ionic uses a Sass map of
+// colors so you can add, rename and remove colors as needed.
+// The "primary" color is the only required color in the map.
+// Both iOS and MD colors can be further customized if colors
+// are different per mode.
+
+$colors: (
+ primary: #387ef5,
+ secondary: #32db64,
+ danger: #f53d3d,
+ light: #f4f4f4,
+ dark: #222,
+ favorite: #69BB7B
+);
diff --git a/app/theme/app.wp.scss b/app/theme/app.wp.scss
new file mode 100644
index 0000000..c176691
--- /dev/null
+++ b/app/theme/app.wp.scss
@@ -0,0 +1,31 @@
+// http://ionicframework.com/docs/v2/theming/
+
+
+// App Shared Variables
+// --------------------------------------------------
+// Shared Sass variables go in the app.variables.scss file
+@import 'app.variables';
+
+
+// App Windows Variables
+// --------------------------------------------------
+// Windows only Sass variables can go here
+
+
+// Ionic Windows Sass
+// --------------------------------------------------
+// Custom App variables must be declared before importing Ionic.
+// Ionic will use its default values when a custom variable isn't provided.
+@import "ionic.wp";
+
+
+// App Shared Sass
+// --------------------------------------------------
+// All Sass files that make up this app goes into the app.core.scss file.
+// For simpler CSS overrides, custom app CSS must come after Ionic's CSS.
+@import 'app.core';
+
+
+// App Windows Only Sass
+// --------------------------------------------------
+// CSS that should only apply to the Windows app
diff --git a/config.xml b/config.xml
new file mode 100644
index 0000000..89b02bd
--- /dev/null
+++ b/config.xml
@@ -0,0 +1,35 @@
+
+
+ tab-modal
+ An Ionic Framework and Cordova project.
+ Ionic Framework Team
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gulpfile.js b/gulpfile.js
new file mode 100644
index 0000000..0f2edd0
--- /dev/null
+++ b/gulpfile.js
@@ -0,0 +1,72 @@
+var gulp = require('gulp'),
+ gulpWatch = require('gulp-watch'),
+ del = require('del'),
+ runSequence = require('run-sequence'),
+ argv = process.argv;
+
+
+/**
+ * Ionic hooks
+ * Add ':before' or ':after' to any Ionic project command name to run the specified
+ * tasks before or after the command.
+ */
+gulp.task('serve:before', ['watch']);
+gulp.task('emulate:before', ['build']);
+gulp.task('deploy:before', ['build']);
+gulp.task('build:before', ['build']);
+
+// we want to 'watch' when livereloading
+var shouldWatch = argv.indexOf('-l') > -1 || argv.indexOf('--livereload') > -1;
+gulp.task('run:before', [shouldWatch ? 'watch' : 'build']);
+
+/**
+ * Ionic Gulp tasks, for more information on each see
+ * https://github.com/driftyco/ionic-gulp-tasks
+ *
+ * Using these will allow you to stay up to date if the default Ionic 2 build
+ * changes, but you are of course welcome (and encouraged) to customize your
+ * build however you see fit.
+ */
+var buildBrowserify = require('ionic-gulp-browserify-typescript');
+var buildSass = require('ionic-gulp-sass-build');
+var copyHTML = require('ionic-gulp-html-copy');
+var copyFonts = require('ionic-gulp-fonts-copy');
+var copyScripts = require('ionic-gulp-scripts-copy');
+
+var isRelease = argv.indexOf('--release') > -1;
+
+gulp.task('watch', ['clean'], function(done){
+ runSequence(
+ ['sass', 'html', 'fonts', 'scripts'],
+ function(){
+ gulpWatch('app/**/*.scss', function(){ gulp.start('sass'); });
+ gulpWatch('app/**/*.html', function(){ gulp.start('html'); });
+ buildBrowserify({ watch: true }).on('end', done);
+ }
+ );
+});
+
+gulp.task('build', ['clean'], function(done){
+ runSequence(
+ ['sass', 'html', 'fonts', 'scripts'],
+ function(){
+ buildBrowserify({
+ minify: isRelease,
+ browserifyOptions: {
+ debug: !isRelease
+ },
+ uglifyOptions: {
+ mangle: false
+ }
+ }).on('end', done);
+ }
+ );
+});
+
+gulp.task('sass', buildSass);
+gulp.task('html', copyHTML);
+gulp.task('fonts', copyFonts);
+gulp.task('scripts', copyScripts);
+gulp.task('clean', function(){
+ return del('www/build');
+});
diff --git a/hooks/README.md b/hooks/README.md
new file mode 100644
index 0000000..62e58b4
--- /dev/null
+++ b/hooks/README.md
@@ -0,0 +1,196 @@
+
+# Cordova Hooks
+
+Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. Hook scripts could be defined by adding them to the special predefined folder (`/hooks`) or via configuration files (`config.xml` and `plugin.xml`) and run serially in the following order:
+* Application hooks from `/hooks`;
+* Application hooks from `config.xml`;
+* Plugin hooks from `plugins/.../plugin.xml`.
+
+__Remember__: Make your scripts executable.
+
+__Note__: `.cordova/hooks` directory is also supported for backward compatibility, but we don't recommend using it as it is deprecated.
+
+## Supported hook types
+The following hook types are supported:
+
+ after_build/
+ after_compile/
+ after_docs/
+ after_emulate/
+ after_platform_add/
+ after_platform_rm/
+ after_platform_ls/
+ after_plugin_add/
+ after_plugin_ls/
+ after_plugin_rm/
+ after_plugin_search/
+ after_plugin_install/ <-- Plugin hooks defined in plugin.xml are executed exclusively for a plugin being installed
+ after_prepare/
+ after_run/
+ after_serve/
+ before_build/
+ before_compile/
+ before_docs/
+ before_emulate/
+ before_platform_add/
+ before_platform_rm/
+ before_platform_ls/
+ before_plugin_add/
+ before_plugin_ls/
+ before_plugin_rm/
+ before_plugin_search/
+ before_plugin_install/ <-- Plugin hooks defined in plugin.xml are executed exclusively for a plugin being installed
+ before_plugin_uninstall/ <-- Plugin hooks defined in plugin.xml are executed exclusively for a plugin being uninstalled
+ before_prepare/
+ before_run/
+ before_serve/
+ pre_package/ <-- Windows 8 and Windows Phone only.
+
+## Ways to define hooks
+### Via '/hooks' directory
+To execute custom action when corresponding hook type is fired, use hook type as a name for a subfolder inside 'hooks' directory and place you script file here, for example:
+
+ # script file will be automatically executed after each build
+ hooks/after_build/after_build_custom_action.js
+
+
+### Config.xml
+
+Hooks can be defined in project's `config.xml` using `` elements, for example:
+
+
+
+
+
+
+
+
+
+ ...
+
+
+
+
+
+
+ ...
+
+
+### Plugin hooks (plugin.xml)
+
+As a plugin developer you can define hook scripts using `` elements in a `plugin.xml` like that:
+
+
+
+
+
+
+
+ ...
+
+
+`before_plugin_install`, `after_plugin_install`, `before_plugin_uninstall` plugin hooks will be fired exclusively for the plugin being installed/uninstalled.
+
+## Script Interface
+
+### Javascript
+
+If you are writing hooks in Javascript you should use the following module definition:
+```javascript
+module.exports = function(context) {
+ ...
+}
+```
+
+You can make your scipts async using Q:
+```javascript
+module.exports = function(context) {
+ var Q = context.requireCordovaModule('q');
+ var deferral = new Q.defer();
+
+ setTimeout(function(){
+ console.log('hook.js>> end');
+ deferral.resolve();
+ }, 1000);
+
+ return deferral.promise;
+}
+```
+
+`context` object contains hook type, executed script full path, hook options, command-line arguments passed to Cordova and top-level "cordova" object:
+```json
+{
+ "hook": "before_plugin_install",
+ "scriptLocation": "c:\\script\\full\\path\\appBeforePluginInstall.js",
+ "cmdLine": "The\\exact\\command\\cordova\\run\\with arguments",
+ "opts": {
+ "projectRoot":"C:\\path\\to\\the\\project",
+ "cordova": {
+ "platforms": ["wp8"],
+ "plugins": ["com.plugin.withhooks"],
+ "version": "0.21.7-dev"
+ },
+ "plugin": {
+ "id": "com.plugin.withhooks",
+ "pluginInfo": {
+ ...
+ },
+ "platform": "wp8",
+ "dir": "C:\\path\\to\\the\\project\\plugins\\com.plugin.withhooks"
+ }
+ },
+ "cordova": {...}
+}
+
+```
+`context.opts.plugin` object will only be passed to plugin hooks scripts.
+
+You can also require additional Cordova modules in your script using `context.requireCordovaModule` in the following way:
+```javascript
+var Q = context.requireCordovaModule('q');
+```
+
+__Note__: new module loader script interface is used for the `.js` files defined via `config.xml` or `plugin.xml` only.
+For compatibility reasons hook files specified via `/hooks` folders are run via Node child_process spawn, see 'Non-javascript' section below.
+
+### Non-javascript
+
+Non-javascript scripts are run via Node child_process spawn from the project's root directory and have the root directory passes as the first argument. All other options are passed to the script using environment variables:
+
+* CORDOVA_VERSION - The version of the Cordova-CLI.
+* CORDOVA_PLATFORMS - Comma separated list of platforms that the command applies to (e.g.: android, ios).
+* CORDOVA_PLUGINS - Comma separated list of plugin IDs that the command applies to (e.g.: org.apache.cordova.file, org.apache.cordova.file-transfer)
+* CORDOVA_HOOK - Path to the hook that is being executed.
+* CORDOVA_CMDLINE - The exact command-line arguments passed to cordova (e.g.: cordova run ios --emulate)
+
+If a script returns a non-zero exit code, then the parent cordova command will be aborted.
+
+## Writing hooks
+
+We highly recommend writing your hooks using Node.js so that they are
+cross-platform. Some good examples are shown here:
+
+[http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/](http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/)
+
+Also, note that even if you are working on Windows, and in case your hook scripts aren't bat files (which is recommended, if you want your scripts to work in non-Windows operating systems) Cordova CLI will expect a shebang line as the first line for it to know the interpreter it needs to use to launch the script. The shebang line should match the following example:
+
+ #!/usr/bin/env [name_of_interpreter_executable]
diff --git a/hooks/after_prepare/010_add_platform_class.js b/hooks/after_prepare/010_add_platform_class.js
new file mode 100644
index 0000000..bda3e41
--- /dev/null
+++ b/hooks/after_prepare/010_add_platform_class.js
@@ -0,0 +1,94 @@
+#!/usr/bin/env node
+
+// Add Platform Class
+// v1.0
+// Automatically adds the platform class to the body tag
+// after the `prepare` command. By placing the platform CSS classes
+// directly in the HTML built for the platform, it speeds up
+// rendering the correct layout/style for the specific platform
+// instead of waiting for the JS to figure out the correct classes.
+
+var fs = require('fs');
+var path = require('path');
+
+var rootdir = process.argv[2];
+
+function addPlatformBodyTag(indexPath, platform) {
+ // add the platform class to the body tag
+ try {
+ var platformClass = 'platform-' + platform;
+ var cordovaClass = 'platform-cordova platform-webview';
+
+ var html = fs.readFileSync(indexPath, 'utf8');
+
+ var bodyTag = findBodyTag(html);
+ if(!bodyTag) return; // no opening body tag, something's wrong
+
+ if(bodyTag.indexOf(platformClass) > -1) return; // already added
+
+ var newBodyTag = bodyTag;
+
+ var classAttr = findClassAttr(bodyTag);
+ if(classAttr) {
+ // body tag has existing class attribute, add the classname
+ var endingQuote = classAttr.substring(classAttr.length-1);
+ var newClassAttr = classAttr.substring(0, classAttr.length-1);
+ newClassAttr += ' ' + platformClass + ' ' + cordovaClass + endingQuote;
+ newBodyTag = bodyTag.replace(classAttr, newClassAttr);
+
+ } else {
+ // add class attribute to the body tag
+ newBodyTag = bodyTag.replace('>', ' class="' + platformClass + ' ' + cordovaClass + '">');
+ }
+
+ html = html.replace(bodyTag, newBodyTag);
+
+ fs.writeFileSync(indexPath, html, 'utf8');
+
+ process.stdout.write('add to body class: ' + platformClass + '\n');
+ } catch(e) {
+ process.stdout.write(e);
+ }
+}
+
+function findBodyTag(html) {
+ // get the body tag
+ try{
+ return html.match(/])(.*?)>/gi)[0];
+ }catch(e){}
+}
+
+function findClassAttr(bodyTag) {
+ // get the body tag's class attribute
+ try{
+ return bodyTag.match(/ class=["|'](.*?)["|']/gi)[0];
+ }catch(e){}
+}
+
+if (rootdir) {
+
+ // go through each of the platform directories that have been prepared
+ var platforms = (process.env.CORDOVA_PLATFORMS ? process.env.CORDOVA_PLATFORMS.split(',') : []);
+
+ for(var x=0; x
diff --git a/typings/browser/ambient/es6-shim/index.d.ts b/typings/browser/ambient/es6-shim/index.d.ts
new file mode 100644
index 0000000..fe86f5e
--- /dev/null
+++ b/typings/browser/ambient/es6-shim/index.d.ts
@@ -0,0 +1,670 @@
+// Generated by typings
+// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/es6-shim/es6-shim.d.ts
+// Type definitions for es6-shim v0.31.2
+// Project: https://github.com/paulmillr/es6-shim
+// Definitions by: Ron Buckton
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+declare type PropertyKey = string | number | symbol;
+
+interface IteratorResult {
+ done: boolean;
+ value?: T;
+}
+
+interface IterableShim {
+ /**
+ * Shim for an ES6 iterable. Not intended for direct use by user code.
+ */
+ "_es6-shim iterator_"(): Iterator;
+}
+
+interface Iterator {
+ next(value?: any): IteratorResult;
+ return?(value?: any): IteratorResult;
+ throw?(e?: any): IteratorResult;
+}
+
+interface IterableIteratorShim extends IterableShim, Iterator {
+ /**
+ * Shim for an ES6 iterable iterator. Not intended for direct use by user code.
+ */
+ "_es6-shim iterator_"(): IterableIteratorShim;
+}
+
+interface StringConstructor {
+ /**
+ * Return the String value whose elements are, in order, the elements in the List elements.
+ * If length is 0, the empty string is returned.
+ */
+ fromCodePoint(...codePoints: number[]): string;
+
+ /**
+ * String.raw is intended for use as a tag function of a Tagged Template String. When called
+ * as such the first argument will be a well formed template call site object and the rest
+ * parameter will contain the substitution values.
+ * @param template A well-formed template string call site representation.
+ * @param substitutions A set of substitution values.
+ */
+ raw(template: TemplateStringsArray, ...substitutions: any[]): string;
+}
+
+interface String {
+ /**
+ * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
+ * value of the UTF-16 encoded code point starting at the string element at position pos in
+ * the String resulting from converting this object to a String.
+ * If there is no element at that position, the result is undefined.
+ * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.
+ */
+ codePointAt(pos: number): number;
+
+ /**
+ * Returns true if searchString appears as a substring of the result of converting this
+ * object to a String, at one or more positions that are
+ * greater than or equal to position; otherwise, returns false.
+ * @param searchString search string
+ * @param position If position is undefined, 0 is assumed, so as to search all of the String.
+ */
+ includes(searchString: string, position?: number): boolean;
+
+ /**
+ * Returns true if the sequence of elements of searchString converted to a String is the
+ * same as the corresponding elements of this object (converted to a String) starting at
+ * endPosition – length(this). Otherwise returns false.
+ */
+ endsWith(searchString: string, endPosition?: number): boolean;
+
+ /**
+ * Returns a String value that is made from count copies appended together. If count is 0,
+ * T is the empty String is returned.
+ * @param count number of copies to append
+ */
+ repeat(count: number): string;
+
+ /**
+ * Returns true if the sequence of elements of searchString converted to a String is the
+ * same as the corresponding elements of this object (converted to a String) starting at
+ * position. Otherwise returns false.
+ */
+ startsWith(searchString: string, position?: number): boolean;
+
+ /**
+ * Returns an HTML anchor element and sets the name attribute to the text value
+ * @param name
+ */
+ anchor(name: string): string;
+
+ /** Returns a HTML element */
+ big(): string;
+
+ /** Returns a