Dart Web Programming for Beginners: 10 Interacting with Elements

Опубликовано: 22 Август 2015
на канале: Dash to Dartlang
1,272
9

In this video, we review the following concepts and methods:

element.onClick.listent((MouseEvent e) { }) - this creates an event listener to respond to actions on the HTML page.

This is a synchronous function - when the web application responds to user actions. This is opposed to asynchronous, which is when the web application continuously interacts exchanges data without the user specifically requesting such action.