0.2.0 • Published 5 years ago

vue-extra-long-text v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

基于vue el-popover 超长文字提示

 <extra-long-text text="超长文长文字超长文字超长文字超长文字超长文字超长文字,超长文字超长文字" />
  <extra-long-text text="非超长文字不会提示" />
  <hr />
  <extra-long-text text="非超长文字总会提示" always-show-popper />
    <hr />
    
    <extra-long-text
      :width="100"
      text="固定宽度超长文字超长文字超长文字超长文字超长文字超长文字超长文字"
    />

    <hr />
    <extra-long-text
      content="自定内容"
      text="超长文长文字超长文字超长文字超长文字超长文字超长文字,超长文字超长文字"
    />
    <hr />

    <extra-long-text
      title="标题"
      content="自定内容"
      text="超长文长文字超长文字超长文字超长文字超长文字超长文字,超长文字超长文字"
    />
    <hr />
    <extra-long-text text="超长文长文字超长文字超长文字超长文字超长文字超长文字,超长文字超长文字">
            <el-link type="primary">超长文长文字超长文字超长文字超长文字超长文字超长文字,超长文字超长文字</el-link>
    </extra-long-text>

属性

描述类型
text内容type: String,required: true
contentpopover显示的内容,为空时使用text作为内容type: String
width固定宽,默认自动宽Number
suffix默认是...type: String
suffixel-popover的placement 默认是 toptype: String
titleel-popover的titletype: String
alwaysShowPopper是否总是显示popovertype: Boolean
popperClasspopper class,有title时class是popper-style2 加 popperClasstype: String
textRow几行截取,默认2行type: Number
lineHeight行高,这个影响...的位置,不同字体大小行高不一样,默认16type: Number
0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago