network-information

jorgecasar

by SlashBunny

HTML

<base href="https://raw-dot-custom-elements.appspot.com/jorgecasar/network-information/1.0.0/network-information/">
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="network-information.html">
<link rel="import" href="../polymer/lib/elements/dom-bind.html">
<dom-bind>
  <template>
    <network-information
      api-supported="{{apiSupported}}"
      on-line="{{onLine}}"
      type="{{type}}"
      effective-type="{{effectiveType}}"
      downlink-max="{{downlinkMax}}"
      downlink="{{downlink}}"
      rtt="{{rtt}}">
    </network-information>
    <ul>
      <li>API supported: [[apiSupported]]</li>
      <li>OnLine: [[onLine]]</li>
      <li>Type: [[type]]</li>
      <li>Efective type: [[effectiveType]]</li>
      <li>Downlink Max: [[downlinkMax]]</li>
      <li>Downlink: [[downlink]]</li>
      <li>Rtt: [[rtt]]</li>
    </ul>
  </template>
</dom-bind>