<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>getSelection method - ShadowRoot class - polymer_app_layout.behaviors library - Dart API</title>
    <!-- required because all the links are pseudo-absolute -->
    <base href="../..">

    <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="static-assets/prettify.css">
    <link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="static-assets/styles.css">

    <meta name="description" content="API docs for the getSelection method from the ShadowRoot class, for the Dart programming language.">
    <link rel="icon" href="static-assets/favicon.png">

    <!-- Do not remove placeholder -->
    <!-- Header Placeholder -->
</head>

<body>

<div id="overlay-under-drawer"></div>

<header class="container-fluid" id="title">
    <nav class="navbar navbar-fixed-top">
        <div class="container">
            <button id="sidenav-left-toggle" type="button">&nbsp;</button>
            <ol class="breadcrumbs gt-separated hidden-xs">
                <li><a href="index.html">polymer_app_layout_template</a></li>
                <li><a href="polymer_app_layout.behaviors/polymer_app_layout.behaviors-library.html">polymer_app_layout.behaviors</a></li>
                <li><a href="polymer_app_layout.behaviors/ShadowRoot-class.html">ShadowRoot</a></li>
                <li class="self-crumb">getSelection</li>
            </ol>
            <div class="self-name">getSelection</div>
        </div>
    </nav>
    <div class="container masthead">
        <ol class="breadcrumbs gt-separated visible-xs">
            <li><a href="index.html">polymer_app_layout_template</a></li>
            <li><a href="polymer_app_layout.behaviors/polymer_app_layout.behaviors-library.html">polymer_app_layout.behaviors</a></li>
            <li><a href="polymer_app_layout.behaviors/ShadowRoot-class.html">ShadowRoot</a></li>
            <li class="self-crumb">getSelection</li>
        </ol>
        <div class="title-description">
            <h1 class="title">
                <div class="kind">method</div> getSelection
            </h1>
            <!-- p class="subtitle">
                
            </p -->
        </div>
        <ul class="subnav">
            <li><a href="polymer_app_layout.behaviors/ShadowRoot/getSelection.html#source">Source</a></li>
        </ul>
    </div>
</header>

<div class="container body">

  <div class="col-xs-6 col-sm-3 sidebar sidebar-offcanvas-left">
    <h5><a href="index.html">polymer_app_layout_template</a></h5>
    <h5><a href="polymer_app_layout.behaviors/polymer_app_layout.behaviors-library.html">polymer_app_layout.behaviors</a></h5>
    <h5><a href="polymer_app_layout.behaviors/ShadowRoot-class.html">ShadowRoot</a></h5>

    <ol>
    
      <li class="section-title"><a href="polymer_app_layout.behaviors/ShadowRoot-class.html#static-properties">Static properties</a></li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/supported.html">supported</a></li>
    
    
      <li class="section-title"><a href="polymer_app_layout.behaviors/ShadowRoot-class.html#instance-properties">Properties</a></li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/activeElement.html">activeElement</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/applyAuthorStyles.html">applyAuthorStyles</a>
</li>
      <li>baseUri
</li>
      <li>childNodes
</li>
      <li>children
</li>
      <li>firstChild
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/host.html">host</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/innerHtml.html">innerHtml</a>
</li>
      <li>innerHtml
</li>
      <li>lastChild
</li>
      <li>nextNode
</li>
      <li>nodeName
</li>
      <li>nodes
</li>
      <li>nodeType
</li>
      <li>nodeValue
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/olderShadowRoot.html">olderShadowRoot</a>
</li>
      <li>on
</li>
      <li>ownerDocument
</li>
      <li>parent
</li>
      <li>parentNode
</li>
      <li>previousNode
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/resetStyleInheritance.html">resetStyleInheritance</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/styleSheets.html">styleSheets</a>
</li>
      <li>text
</li>
    
    
    
      <li class="section-title"><a href="polymer_app_layout.behaviors/ShadowRoot-class.html#methods">Methods</a></li>
      <li>addEventListener
</li>
      <li>append
</li>
      <li>appendHtml
</li>
      <li>appendText
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/clone.html">clone</a>
</li>
      <li>contains
</li>
      <li>dispatchEvent
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/elementFromPoint.html">elementFromPoint</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/getElementById.html">getElementById</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/getElementsByClassName.html">getElementsByClassName</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/getElementsByTagName.html">getElementsByTagName</a>
</li>
      <li><a href="polymer_app_layout.behaviors/ShadowRoot/getSelection.html">getSelection</a>
</li>
      <li>hasChildNodes
</li>
      <li>insertAllBefore
</li>
      <li>insertBefore
</li>
      <li>query
</li>
      <li>queryAll
</li>
      <li>querySelector
</li>
      <li>querySelectorAll
</li>
      <li>remove
</li>
      <li>removeEventListener
</li>
      <li>replaceWith
</li>
      <li>setInnerHtml
</li>
      <li>toString
</li>
    </ol>

  </div><!--/.sidebar-offcanvas-->

  <div class="col-xs-12 col-sm-9 col-md-6 main-content">

    <section class="multi-line-signature">
            <div>
                <ol class="comma-separated metadata-annotations">
                    <li class="metadata-annotation">@DomName(&apos;ShadowRoot.getSelection&apos;)</li>
                    <li class="metadata-annotation">@DocsEditable()</li>
                </ol>
            </div>
            <span class="returntype"><a href="polymer_app_layout.behaviors/Selection-class.html">Selection</a></span>
            <span class="name ">getSelection</span>(
            )    </section>

    <section class="desc markdown">
    
          <p class="no-docs">Not documented.</p>
    
    </section>

    <section class="summary source-code" id="source">
      <h2>Source</h2>
      <pre><code class="prettyprint lang-dart">@DomName(&apos;ShadowRoot.getSelection&apos;)
@DocsEditable()
Selection getSelection() =&gt; wrap_jso(_blink.BlinkShadowRoot.instance.getSelection_Callback_0_(unwrap_jso(this)));</code></pre>
    </section>

  </div> <!-- /.main-content -->

</div> <!-- container -->

<footer>
    <div class="container-fluid">
        <div class="container">
            <p class="text-center">
                <span class="no-break">
                  polymer_app_layout_template 0.1.0 api docs
                </span>
                &bull;
                <span class="copyright no-break">
                  <a href="https://www.dartlang.org">
                    <img src="static-assets/favicon.png" alt="Dart" title="Dart"width="16" height="16">
                  </a>
                </span>
                &bull;
                <span class="copyright no-break">
                  <a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a>
                </span>
            </p>
        </div>
    </div>
</footer>

<script src="static-assets/prettify.js"></script>
<script src="static-assets/script.js"></script>
<!-- Do not remove placeholder -->
<!-- Footer Placeholder -->
</body>

</html>
