推荐 综合 人气 评论 点赞
angular
Angular 学习笔记——ng-repeat 隔行换色
!DOCTYPE htmlhtml lang="en" ng-app="myApp"headmeta charset="UTF-8"titleDocument/titlescript type="text/javascript" src="js/angular-1.3.0.js"/scriptscriptvar m1 = angular.module('myApp',[]);m1.con

0评论2023-02-08645

Angular 4.x+Ionic3踩坑之Ionic3.x pop反向传值详解
Ionic3.x 页面 pop反向传值,主要有两种方式:     1 .利用ES6提供 Promise 对象     2 利用Ionic3.x提供Event对象,观察者模式(publish/subscribe) 1)利用ES6提供 Promise 对象这边假设有两个页面A页面, B页面, 情景如下,A跳转B页面,在B页面返回A页面

0评论2023-02-08553

两个很好的angular调试工具-——batarang(stable)和ng-inspector
两个很好的angular调试工具-——batarang(stable)和ng-inspector

0评论2023-02-08800

一些关于angular的总结 angular是什么意思
1. Angular介绍1.1. 库和框架的区别jQuery:库库一般都是封装了一些常用的方法自己手动去调用这些方法,来完成我们的功能$('#txt').val('我是小明');$('div').text('xx');angular:框架框架都是提供一种规范或者模式,我们却要按照它提供的这种规则去写代码框

0评论2023-02-08982

angular开发控制器之间的通信 angular 模块 组件 指令
一、指令与控制器之间通信,无非是以下几种方法:  基于scope继承的方式  基于event传播的方式  service的方式(单例模式)二、基于scope继承的方式:  最简单的让控制器之间进行通信的方法是通过scope的继承。假设有两个控制器Parent、Child,Child

0评论2023-02-08385

[Angular] Reactive Form -- FormControl & formControlName, FormGroup, formGroup & formGroupName
First time dealing with Reactive form might be a little bit hard to understand. I have used Angular-formly for AngularJS bofore, what it does is using Javascript to define form's template, data and validations.  In HTML, it is just a simp

0评论2023-02-08578

[Angular] FadeIn and FadeOut animation in Angular
To define an Angular Animation, we using DSL type of language. Means we are going to define few animations ('fadeIn', 'fadeOut'). Then we need to define something called 'transition', which use those animations. 'transit

0评论2023-02-08542

Angular2+实现右键菜单的重定义--contextmenu
在做需求时用到video这个html5的新增标签,然后公司要求把video的右键屏蔽了去,我在网上找了很久没找到完整的方法来实现这个功能,只能自己摸索着来。不说废话,先上干货 0.0video.component.html1 video #myVideo (contextmenu)="nomenu($event)"2 source s

0评论2023-02-08599

angular中ueditor插件的使用
#在angularjs中使用ueditor编辑器需要注意事项:在ui-view中使用放置ueditor的div,页面加载时编辑器在页面中是不显示的,需要通过指令手动replay例:/** * ueditor使用指令手动replay */mainModule.directive('editor', function($http) {return {restrict:

0评论2023-02-08892

Angular JS中 Promise用法
一、Promise形象讲解A         promise不是angular首创的,作为一种编程模式,它出现在1976年,比js还要古老得多。promise全称是 Futures and promises。         而在javascript世界中,一个广泛流行的库叫做Q 地址是https://github.com/kri

0评论2023-02-08315

angular6 想要获取页面某些事件 如 点击 window宽高等等
angular6 想要监听页面某些事件 如  点击 window宽高 使用@HostListener('click', ['$event.target'])onClick(btn) {  console.log( btn);} 待续。

0评论2023-02-08668

« 上一页 1/32 下一页 »