Skip to content

cosmocommerce/vscode-axml

Repository files navigation

支付宝小程序 axml

感想并基于https://github.com/coderfe/vscode-wxml 这个插件是我为了方便开发自用的,欢迎修改。

为 VSCode 提供 axml 语法支持及代码片段

version installs

安装

  1. 打开编辑器,Ctrl + Shift + X,搜索 antapp-axml
  2. 点击 install

使用

键入关键词,然后回车。关键词不区分大小写

代码示例

  • swiper

    <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
      <block a:for="{{imgUrls}}">
        <swiper-item>
          <image src="{{item}}" class="slide-image" />
        </swiper-item>
      </block>
    </swiper>
  • actionsheet

    <action-sheet>
      <block a:for="{{actionSheetItems}}">
        <action-sheet-item class="item" data-name="{{item}}" />{{item}}</action-sheet-item>
      </block>
    </action-sheet>
  • checkgroup

    <checkbox-group>
      <label class="" a:for="{{item}}">
        <checkbox value="item.name" />{{item.value}}
      </label>
    </checkbox-group>

-afor

a:for="{{item in items}}"
  • button

    <button type="" size="" loading="" plain="" bindtap=""></button>
  • ······more

Enjoy!​​

About

vscode-axml ant app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •