attachShadow method

  1. @DomName('Element.attachShadow')
  2. @DocsEditable()
  3. @Experimental()
ShadowRoot attachShadow(Map shadowRootInitDict)

Source

@DomName('Element.attachShadow')
@DocsEditable()
@Experimental() // untriaged
ShadowRoot attachShadow(Map shadowRootInitDict) =>
    _blink.BlinkElement.instance.attachShadow_Callback_1_(
        this, convertDartToNative_Dictionary(shadowRootInitDict));

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Element/attachShadow.html