AngularJS设置文本样式小程序
做了一个这样的程序通过选择框选择样式,下面的段落样式跟着改变。就是想做这么一个东西。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
select{margin-right:20px;}
</style>
<script type="text/javascript" src="js/angularjs/1.2.26/angular.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<div ng-app="myApp" ng-controller="ColorController">
<select ng-model="selectedcolor" ng-options="m.name for m in modelcolor">
<option value="">-- 请选择颜色 --</option>
</select>
<select ng-model="selectedfont" ng-options="m.name for m in modelfont">
<option value="">-- 请选择字体 --</option>
</select>
<button directive>文本</button>
<p style="{{selectedfont.value}};{{selectedcolor.value}};width:300px;height:200px;border:1px solid deeppink;" doubleedittext>
大道之行也,天下为公,选贤与能,讲信修睦。故人不独亲其亲,不独子其子,使老有所终,壮有所用,幼有所长,鳏、寡、孤、独、废疾者皆有所养,男有分,女有归。货恶其弃于地也,不必藏于己;力恶其不出于身也,不必为己。
</p>
</div> </body>
</html>
<script type="text/javascript">
var myAppModule = angular.module('myApp', []);
myAppModule.controller('ColorController', ['$scope',function($scope){
$scope.selectedcolor= '';
$scope.modelcolor = [
{name:'蓝色', value:'color:blue'},
{name:'粉色', value:'color:pink'},
{name:'绿色', value:'color:green'},
{name:'灰色', value:'color:gray'}
];
$scope.selectedfont= '';
$scope.modelfont = [
{name:'微软雅黑', value:'font-family:"Microsoft YaHei"'},
{name:'楷体', value:'font-family:"楷体"'},
{name:'黑体', value:'font-family:"黑体"'},
{name:'Trebuchet MS', value:'font-family:Trebuchet MS'}
];
}]);
myAppModule.directive('directive', function(){
return {
restrict: 'A',
link: function(scope, elem, attrs){
$(elem).click(function(){
$('p').append("我是文本...");
});
}
}
});
myAppModule.directive('doubleedittext', function(){
return {
restrict: 'A',
link: function(scope, elem, attrs){
$(elem).dblclick(function(){
$('p').append("");
});
}
}
});
</script>
效果截图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgA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C0CHgRm6BQQXgA4DM3QLCC4AHQZm6BZawcUPfvAz8h/gEMWCCwAAoFYguAAA0BIQXAAAaAkILgAAtAQEFwAAWgKCCwAALQHBBQCAloDgAgBAS0BwAQCgJSC4AADQEhBcAABoCQguAAC0BAQXAABaAoILAAAtAcEFAICWgOACAEBLQHABAKAlILgAANASEFwAAGgJCC4AALQEBBcAAFoCggsAAC0BwQUAgJaA4AIAQEtAcAEAoCUguAAA0BIQXAAAaAkILgAAtAQEFwAAWgKCCwAALQHBBQCAloDgAgBAS0BwAQCgJSC4AADQEhBcAABoCQguAAC0BAQXAABaAoILAAAtAcEFAICWgOACAEBLQHABAKAlILgAANASEFwAAGgJCC4AALQEBBcAAFoCggsAAC0BwQUAgJaA4AIAQEtAcAEAoCUguAAA0BL/H8jkgbMIhu8HAAAAAElFTkSuQmCC" alt="" />
AngularJS设置文本样式小程序的更多相关文章
- html5权威指南:设置文本样式
css部分---设置文本与字体样式:http://blog.csdn.net/hierarch_lee/article/details/52611250 补充---设置网页文本选中样式:http:// ...
- Response输出excel设置文本样式
在网上查了些Response导出excel然后设置样式的方法,发现没有一个可行的于是开始自己研究, 发现可以通过输出样式的方式进行配置,我要设置的是全文本格式在excel样式是这样的mso-numbe ...
- 小程序swiper效果高宽设置(微信小程序交流群:604788754)
swiper的宽和高一定要设置在swiper上面.swiper-item默认继承swiper的宽和高.swiper-item容器里面的宽和高没有继承他的父节点宽和高,需要从新设置. 不明白之处,可以咨 ...
- 每日技术总结:setInterval,setTimeout,文本溢出,小程序,wepy
前言: 项目背景:vue,电商,商品详情页 1.倒计时,倒计到0秒时停止 data () { return { n: 10 } }, created () { let int = setInterva ...
- uni-app 富文本解析-小程序
原文:http://www.upwqy.com/manual/info/105.html 1 引入插件 gaoyia-parse 链接:https://pan.baidu.com/s/1UusfXxH ...
- WEUI官方样式小程序工具打开预览
https://github.com/Tencent/weui-wxss 用微信web开发者工具打开dist目录(请注意,是dist目录,不是整个项目)
- 微信小程序tabbar设置样式在哪里改
微信小程序tabbar通俗点说就是底部导航,我们一般会配置相关的菜单,方便读者快速导航.tabbar是在项目根目录中的配置文件 app.json 中进行设置:如果小程序是一个多 tab 应用(客户端窗 ...
- 小程序实践(十):textarea实现简单的编辑文本界面
textarea是官方的原生组件,用于多行输入 简单的例子,监听文本内容.长度,以及设置最大可输入文本长度 wxml <view class='textarea-Style'> <t ...
- 小程序之如何设置图片以及image组件的属性
1. 设置图片,小程序支持两种引用图片方法,一种是本地引用,一种是网络资源引用. 但是引用本地图片的的时候不能用wxml样式去引用本地的图片,不会报错,也没效果.就是在wxss页面中不能引用本地的图片 ...
随机推荐
- Linux中查看已安装内存与交换空间使用情况
目录 1. free查看内存使用量 2. 查看 /proc/meminfo 文件获取物理内存信息 3. top命令获取内存用量 1. free查看内存用量命令 该命令是专门用于查看内存用量 ...
- 响应式布局--设置rem自适应
//designWidth:设计稿的实际宽度值,需要根据实际设置 //maxWidth:制作稿的最大宽度值,需要根据实际设置 //这段js的最后面有两个参数记得要设置,一个为设计稿实际宽度,一个为制作 ...
- 做 JAVA 开发,怎能不用 IDEA!
用了 IDEA,感觉不错.决定弃用 Eclipse 入门教程: www.cnblogs.com/yangyquin/p/5285272.html
- ionic 做移动应用怎么样?
看了很多网上的赞美性介绍后,我们选用了这个做开发,目前碰到的坑有: android, list界面上下滑动会lag ios下,当键盘弹出时,你可以选择整个页面scroll,也可以选择不scroll,但 ...
- python 装饰器 (多个装饰器装饰一个函数---装饰器前套一个函数)
#带参数的装饰器 #500个函数 # import time # FLAGE = False # def timmer_out(flag): # def timmer(func): # def inn ...
- Leecode刷题之旅-C语言/python-35.搜索插入位置
/* * @lc app=leetcode.cn id=35 lang=c * * [35] 搜索插入位置 * * https://leetcode-cn.com/problems/search-in ...
- python基础之socket套接字基础part2
基于UDP的socket 面向无连接的不可靠数据传输,可以没有服务器端,只不过没有服务器端,发送的数据会被直接丢弃,并不能到达服务器端 1 #客户端 2 import socket 3 ip_port ...
- 20145202马超 2016-2017-2 《Java程序设计》第一次实验
之前做的(http://www.cnblogs.com/tuolemi/p/5707098.html) 其余的 断点的使用 行断点 条件断点 参考(http://www.cnblogs.com/roc ...
- Mac OS下搭建Hadoop + Spark集群
首先注意版本兼容问题!!!本文采用的是Scala 2.11.8 + Hadoop 2.7.5 + Spark 2.2.0 请在下载Spark时务必看清对应的Scala和Hadoop版本! 一.配置JD ...
- spring读取properties和其他配置文件的几种方式
1.因为spring容器的一些机制,在读取配置文件进行数据库的配置等等是很有必要的,所以我们要考虑配置文件的的读取方式以及各个方式的实用性 2.配置文件的读取方式我这里介绍2种,目的是掌握这2种就可以 ...