摘要:
What is difference between 'data:' and 'data()' in Vue.js? I have used data option in two ways. In first snippet data object contains a key value, how 阅读全文
摘要:
Setting up jQuery Unobtrusive Validation 这个里面没有提到自定义rule 自定义rule的实现,可以参考https://www.cnblogs.com/chucklu/p/15528837.html Wednesday, May 20, 2015 I love 阅读全文
摘要:
Valid vs Validate I am trying to learn jQuery and have stumbled across a strange problem (perhaps strange only to me). So here goes: I have a form wit 阅读全文
摘要:
HTML Tags containing Vue.js v-if and v-for directives flash at loading Use v-cloak and it will solve it. https://vuejs.org/v2/api/#v-cloak v-cloak Doe 阅读全文
摘要:
What does a CSS selector in square brackets select in HTML? So I have seen this CSS rule-set in a library: [text-uppercase] { text-transform: uppercas 阅读全文
摘要:
Template refs This page assumes you've already read the Components Basics. Read that first if you are new to components. Despite the existence of prop 阅读全文
摘要:
How to check if a variable is not null? I know that below are the two ways in JavaScript to check whether a variable is not null, but I’m confused whi 阅读全文
摘要:
Match exact string What is the regular expression (in JavaScript if it matters) to only match if the text is an exact match? That is, there should be 阅读全文
摘要:
regex.test V.S. string.match to know if a string matches a regular expression Many times I'm using the string match function to know if a string match 阅读全文