Visit : https://www.typescriptlang.org/
?
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return new MaterialApp( |
Visit : https://www.typescriptlang.org/
?
https://github.com/angular/angular-cli CLI yang sering digunanakan
?
Download from here https://code.visualstudio.com/download
Download disini https://marketplace.visualstudio.com/vscode
by john papa https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2
From here --> https://nodejs.org/en/
Memastikan node/npm package sudah terinstall
npm -v