zoukankan      html  css  js  c++  java
  • HTML5-jQueryMobile 按钮Icon组件

    代码如下:

        <a href="#home" data-role="button" data-icon="home">主页 home</a>
        <a href="#home" data-role="button" data-icon="arrow-l"> 左箭头 arrow-l</a>
        <a href="#home" data-role="button" data-icon="arrow-r"> 右箭头 arrow-r</a>
        <a href="#home" data-role="button" data-icon="arrow-u"> 上箭头 arrow-u</a>
        <a href="#home" data-role="button" data-icon="arrow-d"> 下箭头 arrow-d</a>
        <a href="#home" data-role="button" data-icon="delete"> 删除 delete</a>
        <a href="#home" data-role="button" data-icon="plus"> 加号+ plus</a>
        <a href="#home" data-role="button" data-icon="minus"> 减号- minus</a>
        <a href="#home" data-role="button" data-icon="check"> 对号 check</a>
        <a href="#home" data-role="button" data-icon="gear"> 锯齿 gear</a>
        <a href="#home" data-role="button" data-icon="refresh"> 刷新 refresh</a>
        <a href="#home" data-role="button" data-icon="forward"> 前进 forward</a>
        <a href="#home" data-role="button" data-icon="back"> 返回 back</a>
        <a href="#home" data-role="button" data-icon="grid"> 网格 grid</a>
        <a href="#home" data-role="button" data-icon="star"> 星星 star</a>
        <a href="#home" data-role="button" data-icon="alert"> 提示 alert</a>
        <a href="#home" data-role="button" data-icon="info"> 信息 info</a>
        <a href="#home" data-role="button" data-icon="search"> 查找 search</a>

     图标位置:data-iconpos:四种值 left  right  top  bottom

       图标按钮:data-iconpos:notext    只有图标没有文字

       具有内联:data-inline="true"

     分组按钮:data-role="controlgroup"

     水平排列:data-type="horizontal"

    PS:在我这个阶段对应如何用jQuery Mobile和肿么用合适还没有了解,只是看到觉得很好玩,很省事,练着玩~

  • 相关阅读:
    案例分享:只因在 update 语句中误用一个双引号,生产数据竟然都变成了 0
    快速了解Service Mesh微服务架构实现服务间gRPC通信
    实战|如何优雅地自定义Prometheus监控指标
    微服务架构中如何快速构建一个数据报告服务?
    k8s微服务接入SkyWalking,三分钟教你怎么玩!
    Python基础-27-面向对象
    Python基础-21-字典
    Jmeter JSON提取器
    Jmeter正则表达式提取器
    访问github,修改host文件
  • 原文地址:https://www.cnblogs.com/qdmaomao/p/4560488.html
Copyright © 2011-2022 走看看