最新文章
-
[Vue3 API] – 组合
# 组合 # mixins 类型:Array<Object> 详细: mixins 选项接收一个 mixin 对象的数组。这些 mixin 对象可以像正常的实例对象一样包含实例选项,这…… -
[Vue.js 3.0] Migration – Async Components
# Async Components new # Overview Here is a high level overview of what has changed: New defineAsyncComponent helper method that explicitly d…… -
js实现Element中input组件的部分功能并封装成组件(实例代码)
这篇文章主要介绍了纯生js实现Element中input组件的部分功能(慢慢完善)并封装成组件,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下 -
[Android开发]Android Widget
可以使用AppWidgetManager更新Widget中的数据,但这样最短也要半个小时才能更新一次,一般不用他更新,而是自己定义一个服务去更新Widget中的数据。 Widget…… -
[VScode教程] VSCode 定义和实现间跳转
VS Code定义和实现跳转,符号跳转依托于语言插件对代码的分析,已经算得上具备一定的智能特性,但是它还是不够精确。比如说我们看到某个函数的调用,想要知…… -
[Vue3 API] – 杂项
# 杂项 # name 类型:string 详细: 允许组件模板递归地调用自身。注意,组件在全局用 Vue.createApp({}).component({}) 注册时,全局 ID 自动作为组件…… -
[Vue.js 3.0] Migration – Attribute Coercion Behavior
# Attribute Coercion Behavior breaking Info This is a low-level internal API change and does not affect most developers. # Overview Here is …… -
[Vue.js 3.0] Migration – $attrs includes class & style
# $attrs includes class & style breaking # Overview $attrs now contains all attributes passed to a component, including class and style. …… -
[Android开发]Android Wifi状态监听
/** * 监控Wifi状态的广播接收器 */ private final class WifiStateReceiver extends BroadcastReceiver { @Override public void onReceive(Context c, Int…… -
[Vue3 API] – 实例 property
# 实例 property # $data 类型:Object 详细: 组件实例观察的数据对象。组件实例代理了对其 data 对象 property 的访问。 参考选项 / 数据 - data …… -
[VScode教程] VSCode 跳转到引用的地方
VS Code引用跳转,很多时候,除了要知道一个函数或者类的定义和实现以外,你可能还希望知道它们被谁引用了,以及在哪里被引用了。这时你只需要将光标移动到…… -
[Vue3 API] – 实例方法
# 实例方法 # $watch 参数: {string | Function} source {Function | Object} callback {Object} [options] {boolean} deep {boolean} immediate {st…… -
[Vue.js 3.0] Migration – $children
# $children removed # Overview The $children instance property has been removed from Vue 3.0 and is no longer supported. # 2.x Syntax In 2.x,…… -
-
[Android开发]Android XmlPullParser
public class PersonService { /** * 接收一个包含XML文件的输入流, 解析出XML中的Person对象, 装入一个List返回 * @param in 包含XML数据的输入流 * @re…… -
[VScode教程] VSCode 代码片段
VSCode代码片段,有的时候,我们经常输入的代码是业务强相关的,语言服务没法做出优化;或者是一些我们经常使用的定式,比如循环语句、创建一个新的类或者一个…… -
[Vue.js 3.0] Migration – Custom Directives
# Custom Directives breaking # Overview The hook functions for directives have been renamed to better align with the component lifecycle. # 2…… -
[Vue3 API] – 指令
# 指令 # v-text 预期:string 详细: 更新元素的 textContent。如果要更新部分的 textContent,需要使用 Mustache 插值。 示例: <span v-text=…… -
[Vue3 API] – 特殊指令
# 特殊指令 # key 预期:number | string key 的特殊 attribute 主要用在 Vue 的虚拟 DOM 算法,在新旧 nodes 对比时辨识 VNodes。如果不使用 key,Vue 会…… -
[Vue.js 3.0] Migration – Watch on Arrays
# Watch on Arrays breaking # Overview BREAKING: When watching an array, the callback will only trigger when the array is replaced. If you ne…… -
[Android开发]Android 安全退出应用程序
杀死进程。 这种方法是没有效果的只能杀死当前的Activity无法关闭程序,在1.5的时候有用,谷歌设计的时候规定程序不能自杀android.os.Process.killProcess(…… -
[VScode教程] VSCode 代码片段Tab Stop
VSCode代码片段Tab Stop,VSCode代码片段里的“body” 里的内容,并不只是一个纯文本,它其实是一个模板。要让它像模板一样工作,我们就需要先理解一个概念,叫…… -
[Vue3 API] – 内置组件
# 内置组件 # component Props: is - string | Component 用法: 渲染一个“元组件”为动态组件。依 is 的值,来决定哪个组件被渲染。is 的值是一个…… -
[Vue.js 3.0] Migration – v-bind Merge Behavior
# v-bind Merge Behavior breaking # Overview BREAKING: Order of bindings for v-bind will affect the rendering result. # Introduction When d…… -
[Android开发]Android 病毒
病毒:一个特殊计算机程序. 对于病毒的查杀都是基于特征码的识别.杀毒软件都需要有一个病毒信息的数据库.常用病毒数据库2000万条 杀毒引擎: 一套复杂高效的……