areElementsPresent static method
Implementation
static JSArray areElementsPresent(JSArray elementSearchObjects) {
var pixRatio = getDevicePixelRatio(Plotline.ctx);
var screenHeight = (getScreenHeight(Plotline.ctx) * pixRatio).round();
var screenWidth = (getScreenWidth(Plotline.ctx) * pixRatio).round();
List<dynamic> presentElements = Plotline.areViewsPresentInWeb(
elementSearchObjects, pixRatio, screenWidth, screenHeight)
.toDart;
return presentElements.map((element) => element as JSAny).toList().toJS;
}