isMdlWidget function

bool isMdlWidget (HtmlElement element)

Checks if element is a "Widget" (usually this means a UI-Element) MdlConfig.isWidget...

Implementation

bool isMdlWidget(final dom.HtmlElement element) {
    Validate.notNull(element);
    var jsElement = new JsObject.fromBrowserObject(element);
    return jsElement.hasProperty(_MDL_WIDGET_PROPERTY);
}