Code Monkey home page Code Monkey logo

Comments (8)

jiaming743 avatar jiaming743 commented on May 17, 2024

这两个边框的自适应只用了css,它们对DOM宽高的具体数值并不关心,所以就没引入,这个我忘记在文档写了,稍后会更新下文档

from datav.

jiaming743 avatar jiaming743 commented on May 17, 2024

为了配置背景色,现在这俩组件也有这个方法了

from datav.

441455201 avatar 441455201 commented on May 17, 2024

请教一下这个边框组件如何调用initWH方法

from datav.

2448795365 avatar 2448795365 commented on May 17, 2024

给box取一个ref值,例如:dv-border-box-11 ref="box",然后调用this.$refs.box.initWH() 就可以了

from datav.

songhuibing avatar songhuibing commented on May 17, 2024

这两个边框的自适应只用了css,它们对DOM宽高的具体数值并不关心,所以就没引入,这个我忘记在文档写了,稍后会更新下文档

那该怎么调整边框的宽度呢

from datav.

songhuibing avatar songhuibing commented on May 17, 2024

请教一下这个边框组件如何调用initWH方法

能告诉我你后面是怎么调整宽度的吗

from datav.

passparty avatar passparty commented on May 17, 2024

请教一下这个框架组件如何调用initWH方法

能告诉我你是怎么调整宽度的吗

可以给box定义class值border-box-content和diy-box, 例如: dv-border-box-11 class="border-box-content diy-box",diy-box为box自定义css样式。不知道是否有更好方法,参考DataV文档http://datav.jiaminghi.com/guide/borderBox.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E9%A2%9C%E8%89%B2

from datav.

18844456160 avatar 18844456160 commented on May 17, 2024

请教这个方法是如何调用initWH

我调用了 但是显示undefand 是什么原因啊?

from datav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.