I'm new to dart, and I'm trying to realize how to implement the following javascript code in dart:
$('element1').handsontable(options);
handsontable is a third party library that I want to use.
I'm new to dart, and I'm trying to realize how to implement the following javascript code in dart:
$('element1').handsontable(options);
handsontable is a third party library that I want to use.
With dart:js :
import 'dart:js';
context.callMethod(r'$', ['element1'])
.callMethod('handsontable', [new JsObject.jsify(options)]);