JSP指令用来设置整个JSP页面相关的属性,如网页的编码方式和脚本语言。 语法格式如下: <%@ directive attribute="value" %> 指令可以有很多个属性,它们以键值对的形式存在,并用逗号隔开。 JSP中的三种指令标签: 指令描述 <%@ page ... %>定义网页依赖 ...
分类:
Web程序 时间:
2020-04-24 17:31:52
阅读次数:
84
协议 流实时消息协议(RTMP),Apple HTTP Live Streaming(HLS)和基于HTTP的动态自适应流(DASH)视频格式。 nginx rtmp模块 Put the load_module directive in the top?level (“main”) context ...
分类:
其他好文 时间:
2020-04-14 22:16:14
阅读次数:
74
1、vue自定义指令 Vue.directive('class', { inserted: function (el, binding) { // 聚焦元素 binding.addClass = () => { const { top } = el.getBoundingClientRect() c ...
分类:
Web程序 时间:
2020-04-04 19:00:08
阅读次数:
244
准备代码,会在实例中用到 var app = angular.module('app', []); angular指令定义大致如下 app.directive('directiveName', function() { return { // config } }) 其中return返回的配置对象包 ...
分类:
其他好文 时间:
2020-04-04 09:24:26
阅读次数:
51
The using keywords has three major uses: The using statement defines a scope at the end of which an object will be disposed. The using directive creat ...
官网例子的延伸https://cn.vuejs.org/v2/guide/custom directive.html 1.先建立一个directive的文件,在地下建立子文件,例如focus.focus底下有index.js 2.在组件里面去引入和使用 ` ` ...
分类:
其他好文 时间:
2020-03-23 15:09:54
阅读次数:
175
自定义指令 https://cn.vuejs.org/v2/guide/custom-directive.html 简介 Watch a free video lesson on Vue School 除了核心功能默认内置的指令 (v-model 和 v-show),Vue 也允许注册自定义指令。注 ...
分类:
其他好文 时间:
2020-03-21 18:24:03
阅读次数:
82
Turn off IPv6 in Apache To turn off IPv6 in Apache, just change the Listen directive to: Listen 0.0.0.0:80 This will limit Apache to listening only to ...
分类:
其他好文 时间:
2020-03-18 17:11:53
阅读次数:
188
npx ng g directive DebounceClickDirective --module=app 然后自动生成了2 个文件 CREATE src/app/debounce-click-directive.directive.spec.ts (290 bytes) CREATE src/a ...
分类:
其他好文 时间:
2020-03-14 01:08:15
阅读次数:
156
参考文档:https://cn.vuejs.org/v2/guide/custom-directive.html ...
分类:
其他好文 时间:
2020-03-13 20:25:29
阅读次数:
66