naive-ui/demo/documentation/components/collapse/enUS/arrowPlacement.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

502 B

Arrow Placement

Use arrow-placement to set the placement of arrow.

<n-collapse
  v-model="activeNames"
  arrow-placement="right"
>
  <n-collapse-item title="right" name="1">
    <div>good</div>
  </n-collapse-item>
  <n-collapse-item title="right" name="2">
    <div>nice</div>
  </n-collapse-item>
  <n-collapse-item title="right" name="3">
    <div>very good</div>
  </n-collapse-item>
</n-collapse>
export default {
  data() {
    return {
      activeNames: []
    }
  }
}