frontend/examking-app/node_modules/@dcloudio/uni-helper-json/dist/attributes.json

(开头部分) 25KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

{
    "disabled": {
        "description": "是否禁用。",
        "type": "Boolean"
    },
    "loop": {
        "description": "是否循环播放",
        "type": "Boolean"
    },
    "hover-class": {
        "description": "指定按下去的样式类。当 hover-class=\"none\" 时,没有点击态效果",
        "type": "String"
    },
    "hover-stop-propagation": {
        "description": "指定是否阻止本节点的祖先节点出现点击态",
        "type": "Boolean"
    },
    "hover-start-time": {
        "description": "按住后多久出现点击态,单位毫秒",
        "type": "Number"
    },
    "hover-stay-time": {
        "description": "手指松开后点击态保留时间,单位毫秒",
        "type": "Number"
    },
    "scroll-x": {
        "description": "允许横向滚动",
        "type": "Boolean"
    },
    "scroll-y": {
        "description": "允许纵向滚动",
        "type": "Boolean"
    },
    "upper-threshold": {
        "description": "距顶部/左边多远时(单位px),触发 scrolltoupper 事件",
        "type": "Number"
    },
    "lower-threshold": {
        "description": "距底部/右边多远时(单位px),触发 scrolltolower 事件",
        "type": "Number"
    },
    "scroll-top": {
        "description": "设置竖向滚动条位置",
        "type": "Number"
    },
    "scroll-left": {
        "description": "设置横向滚动条位置",
        "type": "Number"
    },
    "scroll-into-view": {
        "description": " 值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素",
        "type": "String"
    },
    "scroll-with-animation": {
        "description": "在设置滚动条位置时使用动画过渡",
        "type": "Boolean"
    },
    "enable-back-to-top": {
        "description": "iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只支持竖向",
        "type": "Boolean"
后面还有 798 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。