Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День Октябрьской революции (7 Ноября)
Концерты, выставки ...
Концерты, выставки ...
Группа "Ария"|||Брест, Витебск, Гродно, Гомель с 13 по 18 сентября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Плавание в бассейне
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Механизм рулевой с гидроусилителем ШНКФ 453461.700
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
TypeScript - programming language similar to JavaScript. TypeScript uses types, classes, inheritance. TypeScript converted to JavaScript
Sites to explore TypeScript
посмотрели
6099
раз
обновлено: 21 October 2019
1)
Study TypeScript
on the official website
typescriptlang.org
2)
Study TypeScript
on the site
metanit.com/web/typescript/1.1.php
← Previous topic
Convert class to {property object}. Typescript. Example: var myProps1 = {... myClass1};
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
•
What the TypeScript ?
•
How to download, install TypeScript ? How to check what is installed TypeScript and which version?
New app
Option 1. Write the application in a text editor, compile it on the command line
•
Create a new application with TypeScript (compile in the command line TypeScript in JavaScript)
•
Compilation settings Typescript in Javascript At the command prompt: removeComments, outFile, outDir
Option 2 [bgcolor=lightblue](best for me)[/bgcolor]. Writing the application in Visual Studio Code
•
Create a new application TypeScript in Visual Studio Code. Debug the application. We look in debugging how TypeScript is executed step by step. Breakpoints.
•
Create a new TypeScript app in Visual Studio Code. I"ve created some ts files. That"s why I use Webpack (collects all files into one js). Debug is running and Breakpoints are set.
Option 3. Writing an application in Visual Studio 2017
•
Create a new Node.js console app in Visual Studio 2017 to learn Typescript
TypeScript Features
•
A decorator for a class in TypeScript. Example: @MyDecarator1 class Book {...}
•
Convert class to {property object}. Typescript. Example: var myProps1 = {... myClass1};
WWW sites to explore TypeScript
•
Sites to explore TypeScript
Ваши вопросы присылайте по почте:
info@dir.by