ホームページ  >  記事  >  ウェブフロントエンド  >  イオンスタイルボタン

イオンスタイルボタン

黄舟
黄舟オリジナル
2017-02-17 13:32:571006ブラウズ

1. インスタンスの背景

ionicの共通ボタンボタン、これは通常のスタイルを設定するためのものです


2.

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>ionic之样式button</title>
		<link rel="stylesheet" href="../css/ionic.css" />
		<script type="text/javascript" src="../js/ionic.bundle.js" ></script>
		<script>
			var app = angular.module("buttonApp",["ionic"]);
			app.controller("buttonController",function($scope){
				$scope.button = "查询";
			});
		</script>
	</head>
	<body ng-app="buttonApp" ng-controller="buttonController">
		<p class="button">
			<label class="title">{{button}}</label>
		</p>
	</body>
</html>

3. 実装結果


上記はイオンスタイルボタンの内容です。その他の関連コンテンツについては、PHP 中国語 Web サイト (www.php.cn) をご覧ください。 イオンスタイルボタン


声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。