1.2.2 • Published 3 years ago

xxl-lang v1.2.2

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Examples

<template>
  <div id="app">
    <pop
      :isShow.sync="popShowStatus"
      title="我是标题"
      :cancleBack="cancle"
      :comfireBack="comfire"
    >
      <template slot="content"> 我是内容 </template>
    </pop>
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      popShowStatus: true,
    }
  },
  components: {},
  methods: {
    cancle() {
      console.log('取消')
    },
    comfire() {
      console.log('确认')
    },
  },
}
</script>

Attributes

参数说明类型可选值默认值
title标题String-我是标题
isShow是否显示 pop,支持 .sync 修饰符Boolean-true

Events

时间名称说明回调参数
cancleBackpop关闭的回调-
comfireBackpop打开的回调-
1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

0.1.0

3 years ago