码迷,mamicode.com
首页 >  
搜索关键字:component    ( 5606个结果
chromium VisualStudio Tricks
Here is an incomplete stack of tricks to help you work with Chromium in Visual Studio. Faster Solution Loading / IntelliSense Loading a huge solution ...
分类:其他好文   时间:2020-06-19 12:20:55    阅读次数:63
111
import React, {Component} from 'react'; import {Image, StyleSheet, Text, View} from 'react-native' import Swiper from 'react-native-swiper'; import To ...
分类:其他好文   时间:2020-06-18 22:03:52    阅读次数:103
使用echarts制作的类是于新浪微博热搜榜话题图谱效果。
使用前请先引入百度echarts.js最新插件 效果图如下: 具体代码如下: //跳转代码 myChart.on('click', function(params) { console.log(params.name); window.open(params.data.url); // window ...
分类:其他好文   时间:2020-06-17 23:21:48    阅读次数:67
$refs、$parent、$children的使用
$refs 作用 获取对应组件实例,如果是原生dom,那么直接获取的是该dom。获取之后我们可以使用它的属性和方法。 使用方法: // 我们需要获取实例ref (dom) <my-component ref="myRef"></my-component> // 然后我们在js中通过$refs方式获取 ...
分类:其他好文   时间:2020-06-17 18:21:12    阅读次数:61
vue03
组件 组件 (Component) 是 Vue.js 最强大的功能之一 组件可以扩展 HTML 元素,封装可重用的代 组件注册 全局注册 Vue.component('组件名称', ) 第1个参数是标签名称,第2个参数是一个选项对象 全局组件注册后,任何vue实例都可以用 组件基础用 <div id ...
分类:其他好文   时间:2020-06-17 16:58:04    阅读次数:50
16. react - Fragment
1. Fragment : 可以理解为空标签。 类似与 微信小程序的 <block> 2. 实例: import { Fragment } from 'react' class LI extends React.Component { constructor (props) { super(prop ...
分类:其他好文   时间:2020-06-17 15:34:31    阅读次数:59
小程序 自定义组件 并实现组件间通讯
在小程序中自定义组件可以通过新建components来实现 参考微信小程序自定义组件文档 https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html 自定义组件可以通过slot来 ...
分类:微信   时间:2020-06-17 15:33:02    阅读次数:85
AOP(Aspect Oriented Programming:面向切面编程)
@Aspect注解将表示它是一个切面@Component表示它是一个Spring的组件 切片Aspect,既然Spring那么支持AOP,就肯定都能拿。有人会问如何拿原始的HTTP请求和响应的信息,通过以下代码应该拿得到啊哈哈哈哈ServletRequestAttributes attributes ...
分类:Web程序   时间:2020-06-17 10:46:06    阅读次数:54
启动项目报错——A child container failed during start——解决Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]的方法
Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(Conta ...
分类:其他好文   时间:2020-06-17 01:01:48    阅读次数:68
Spring Boot注解使用指南
@Configuration @Configuration包含了@Component,所以被其注解的类自身也会被纳入到bean容器中,但是纳入的是经过cglib增强的子类(代理类)。 @Configuration标记的类必须符合下面的要求: 配置类必须以类的形式提供(不能是工厂方法返回的实例)。允许 ...
分类:编程语言   时间:2020-06-15 20:44:23    阅读次数:51
5606条   上一页 1 ... 32 33 34 35 36 ... 561 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!