ion code example

Example 1: ion item

<!-- Default Item -->
<ion-item>
  <ion-label>
    Item
  </ion-label>
</ion-item>

<!-- Item as a Button -->
<ion-item button (click)="buttonClick()">
  <ion-label>
    Button Item
  </ion-label>
</ion-item>

<!-- Item as an Anchor -->
<ion-item href="https://www.ionicframework.com">
  <ion-label>
    Anchor Item
  </ion-label>
</ion-item>

<ion-item color="secondary">
  <ion-label>
    Secondary Color Item
  </ion-label>
</ion-item>

Example 2: what is ionic

Ionic is a complete open-source SDK for hybrid mobile app development created
by Max Lynch, Ben Sperry, and Adam Bradley of Drifty Co. in 2013.

The original version was released in 2013 and built on top of AngularJS and
Apache Cordova.

Example 3: ionic

npm install -g ionic@latest

Example 4: ion

{"address":"0x25A087dC3512e3BE548F0cA13233ae29d3781bdC","msg":"{\"version\":\"0.1.3\",\"timestamp\":\"1619336524\",\"space\":\"tokenlon.eth\",\"type\":\"proposal\",\"payload\":{\"name\":\"TIP12 - LON Liquidity Incentive Phase Four (LON 流动性激励四期)\",\"body\":\"## Background\\n* According to the Tokenlon litepaper, 10,000,000 LON is reserved for liquidity related incentives.\\n* The core team has kicked off three LON Liquidity Incentive phases so far, with the current one to end on 2021.4.29.\\n* The team plans to start LON Liquidity Incentive Phase Four on 2020.4.29. It will last for 8 weeks and end on 2021.6.24. Phase Four LON incentive will be rewarded in the same way to the below two liquidity pools:\\n\\t* LON/ETH pool on Uniswap\\n\\t* LON/USDT pool on Sushiswap\\n## Goal\\n* Let the community decide on the number of LON for Liquidity Incentive Phase Four\\n## Proposed Action Items\\n* Make changes based on the voting results of the proposal, and take effect at 2021.4.29 4:00 UTC\\n## Voting Rules\\n* Addresses with more than 0 LON can vote\\n* Addresses with more than 0 xLON can vote\\n* Addresses participating LON liquidity mining or holding the respective LP tokens can vote (including unclaimed LON reward)\\n* LON balance snapshot block: 12307991\\n* Voting start time: 2021.4.25 7:00 UTC\\n* Voting end time: 2021.4.27  7:00 UTC\\n## Voting Options\\n* A. Each of the two pools receives 400,000 LON as the Phase Four Liquidity Incentive\\n* B. Each of the two pools receives 350,000 LON as the Phase Four Liquidity Incentive\\n* C. Each of the two pools receives 300,000 LON as the Phase Four Liquidity Incentive\\n* D. Each of the two pools receives 250,000 LON as the Phase Four Liquidity Incentive\\n---\\n## 背景\\n* 根据 Tokenlon litepaper 内容,10,000,000 LON 可被用于流动性相关激励。\\n* 核心团队已开三期流动性激励,目前这期将根据计划于 2021.4.29 结束。\\n* 核心团队计划于 2021.4.29 开启第四期流动性激励,为期 8 周,于 2021.6.24 结束。四期将采用同样的形式激励以下两个流动性池:\\n\\t* Uniswap 上的  [LON/ETH](https://info.uniswap.org/pair/0x7924a818013f39cf800f5589ff1f1f0def54f31f)  池\\n\\t* Sushiswap 上的  [LON/USDT](https://sushiswap.vision/pair/0x55d31f68975e446a40a2d02ffa4b0e1bfb233c2f)  池\\n## 目的\\n* 由社区投票决定激励力度,开启第四期流动性激励\\n## 提案执行项\\n* 根据提案投票结果实施激励,生效时间为 2021.4.29 12:00 PM UTC+8\\n## 投票规则\\n* 持有 LON 大于 0 的地址能够参与本次治理投票\\n* 持有 xLON 大于 0 的地址能够参与本次治理投票\\n* 参与 LON 流动性挖矿或持有对应 LP 代币的地址能够参与本次治理投票(包含未领取 LON 奖励)\\n* LON 持有量快照区块高度:12307991\\n* 治理投票开启时间:2021.4.25 15:00 UTC+8\\n* 治理投票结束时间:2021.4.27 15:00 UTC+8\\n## 投票选项\\n* A. 两个池分别获得 400,000 LON 作为四期流动性激励\\n* B. 两个池分别获得 350,000 LON 作为四期流动性激励\\n* C. 两个池分别获得 300,000 LON 作为四期流动性激励\\n* D. 两个池分别获得 250,000 LON 作为四期流动性激励\",\"choices\":[\"A. 400,000 LON/pool\",\"B. 350,000 LON/pool\",\"C. 300,000 LON/pool\",\"D. 250,000 LON/pool\"],\"start\":1619334000,\"end\":1619506800,\"snapshot\":\"12307991\",\"metadata\":{\"strategies\":[{\"name\":\"tokenlon\",\"params\":{\"symbol\":\"LON\",\"uniswap\":\"0x7924a818013f39cf800f5589ff1f1f0def54f31f\",\"sushiswap\":\"0x55d31f68975e446a40a2d02ffa4b0e1bfb233c2f\",\"stakingRewardUniswap2\":\"0xc348314f74B043Ff79396e14116B6f19122D69f4\",\"stakingRewardSushiSwap2\":\"0x11520d501E10E2E02A2715C4A9d3F8aEb1b72A7A\",\"stakingRewardUniswap3\":\"0x74379CEC6a2c9Fde0537e9D9346222a724A278e4\",\"stakingRewardSushiSwap3\":\"0x539a67B6f9c3caD58f434CC12624b2d520BC03F8\",\"xLON\":\"0xf88506B0F1d30056B9e5580668D5875b9cd30F23\",\"token\":\"0x0000000000095413afC295d19EDeb1Ad7B71c952\",\"decimals\":18}}]}}}","sig":"0x7ea3cd56d57f5ccc9a3d251a95a34ebe71ec59c9dc235205fce307df5d7e267333cd9233fa1ec9b5a3f970d0b30e275de021e37cab6568b06a5ed4ec5a5993651c","version":"2"}

Tags:

Html Example