<template>
  <div id="app">
    <AcCompose :options="data" set="native"/>
  </div>
</template>

<script>
import AcCompose from "./components/ac-compose-message.vue";

export default {
  name: "app",
  components: {
    AcCompose
  },
  data() {
    return {
      data: [
        {
          trigger: "@",
          data: [
            { key: "Collin Henderson", value: "syropian" },
            { key: "Sarah Drasner", value: "sarah_edo" },
            { key: "Evan You", value: "youyuxi" },
            { key: "Adam Wathan", value: "adamwathan" }
          ]
        },
        {
          trigger: "#",
          data: [
            { key: "Collin Henderson", value: "syropian" },
            { key: "Sarah Drasner", value: "sarah_edo" },
            { key: "Evan You", value: "youyuxi" },
            { key: "Adam Wathan", value: "adamwathan" }
          ],
          html: "{{key}}-{{value}}"
        }
      ]
    };
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
