<template>
  <div class="doc">
    <h2>Poptip</h2>
    <h3>Basic</h3>
    <example demo="message/poptip1"></example>

    <h3>Poptip Property</h3>
    <table class="table">
      <tr>
        <th>Property</th>
        <th>Description</th>
        <th>Type</th>
        <th>Optional</th>
        <th>Default</th>
      </tr>
      <tr>
        <td>content</td>
        <td>show content</td>
        <td>String</td>
        <td>-</td>
        <td>-</td>
      </tr>
      <tr>
        <td>placement</td>
        <td></td>
        <td>String</td>
        <td>-</td>
        <td>top, top-start, top-end, bottom, bottom-start, bottom-end, left, left-start, left-end, right, right-start, right-end</td>
      </tr>
      <tr>
        <td>theme</td>
        <td></td>
        <td>String</td>
        <td>white</td>
        <td>-</td>
      </tr>
    </table>

    <h3>Poptip Event</h3>
    <table class="table">
      <tr>
        <th>Event</th>
        <th>Description</th>
      </tr>
      <tr>
        <td>confirm</td>
        <td>click confirm button</td>
      </tr>
    </table>
  </div>
</template>
