mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(): prep move from ionic to core for use of vanilla
This commit is contained in:
80
packages/ionic-vanilla/demos/button/basic.html
Normal file
80
packages/ionic-vanilla/demos/button/basic.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Ionic Slides Basic</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<script src="/dist/ionic.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<ion-app>
|
||||
<ion-content>
|
||||
<ion-button button-type="bar-button">Test button</ion-button>
|
||||
|
||||
<ion-button button-type="test-button">Test button</ion-button>
|
||||
|
||||
<ion-button button-type="test-button" class="my-test-button">Test button w/ class</ion-button>
|
||||
|
||||
<ion-button button-type="alert-radio-button">
|
||||
Alert button
|
||||
</ion-button>
|
||||
|
||||
<ion-button button-type="alert-radio-button" class="alert-tappable alert-radio" role="radio">
|
||||
Alert button w/ class & role
|
||||
</ion-button>
|
||||
|
||||
<ion-button href="#">Anchor Button</ion-button>
|
||||
<a href="#">Anchor Link</a>
|
||||
|
||||
<h4>Colors</h4>
|
||||
<ion-button>Default</ion-button>
|
||||
<ion-button color="secondary">Secondary</ion-button>
|
||||
<ion-button color="danger">Danger</ion-button>
|
||||
<ion-button color="light">Light</ion-button>
|
||||
<ion-button color="dark">Dark</ion-button>
|
||||
|
||||
<h4>Shapes</h4>
|
||||
<ion-button full>Full Button</ion-button>
|
||||
<ion-button block>Block Button</ion-button>
|
||||
<ion-button round>Round Button</ion-button>
|
||||
|
||||
<h4>Outlines</h4>
|
||||
<ion-button full outline>Outline + Full + No Color</ion-button>
|
||||
<ion-button color="secondary" full outline>Outline + Full</ion-button>
|
||||
<ion-button color="secondary" block outline>Outline + Block</ion-button>
|
||||
<ion-button color="secondary" round outline>Outline + Round</ion-button>
|
||||
|
||||
<h4>Clear</h4>
|
||||
<ion-button full clear>Clear + Full + No Color</ion-button>
|
||||
<ion-button color="danger" full clear>Clear + Full</ion-button>
|
||||
<ion-button color="danger" block clear>Clear + Block</ion-button>
|
||||
<ion-button color="danger" round clear>Clear + Round</ion-button>
|
||||
|
||||
<h4>Icons</h4>
|
||||
|
||||
<ion-button color="dark">
|
||||
<ion-icon slot="start" name="star"></ion-icon>
|
||||
Left Icon
|
||||
</ion-button>
|
||||
|
||||
<ion-button color="dark">
|
||||
Right Icon
|
||||
<ion-icon slot="end" name="star"></ion-icon>
|
||||
</ion-button>
|
||||
|
||||
<ion-button color="dark">
|
||||
<ion-icon slot="icon-only" name="star"></ion-icon>
|
||||
</ion-button>
|
||||
|
||||
<h4>Sizes</h4>
|
||||
<ion-button color="light" large>Large</ion-button>
|
||||
<ion-button color="light">Default</ion-button>
|
||||
<ion-button color="light" small>Small</ion-button>
|
||||
|
||||
<h4>States</h4>
|
||||
<ion-button disabled>Large</ion-button>
|
||||
<ion-button color="secondary" disabled clear>Large</ion-button>
|
||||
</ion-content>
|
||||
</ion-app>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user