Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vue-masked-input
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Barabash
vue-masked-input
Commits
939887e7
Commit
939887e7
authored
Jan 24, 2017
by
NikulinR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Links added
parent
a972de67
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
dist/build.js
dist/build.js
+3
-3
dist/build.js.map
dist/build.js.map
+1
-1
src/App.vue
src/App.vue
+16
-1
No files found.
dist/build.js
View file @
939887e7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/build.js.map
View file @
939887e7
This diff is collapsed.
Click to expand it.
src/App.vue
View file @
939887e7
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<h2
style=
"float: right;"
><a
href=
"https://github.com/niksmr/vue-masked-input"
>
GitHub
</a></h2>
<h1>
Vue Masked Input
</h1>
<h1>
Vue Masked Input
</h1>
<h3>
Dead simple masked input component for Vue.js 2.X
</h3>
<h3>
Dead simple masked input component for Vue.js 2.X
</h3>
<hr
/>
<hr
/>
<h4>
Date:
</h4>
<h4>
Date:
</h4>
<masked-input
v-model=
"date"
mask=
"11 / 11 / 1111"
placeholder=
"Date"
/><span
v-if=
""
>
{{
date
}}
</span>
<masked-input
v-model=
"date"
mask=
"11 / 11 / 1111"
placeholder=
"Date"
/><span
v-if=
""
>
{{
date
}}
</span>
...
@@ -17,7 +21,18 @@
...
@@ -17,7 +21,18 @@
<input
v-model=
"userMask"
placeholder=
"Mask"
/>
<input
v-model=
"userMask"
placeholder=
"Mask"
/>
<masked-input
v-model=
"userField"
:mask=
"userMask"
placeholder=
"Text"
/><span>
{{
userField
}}
</span>
<masked-input
v-model=
"userField"
:mask=
"userMask"
placeholder=
"Text"
/><span>
{{
userField
}}
</span>
<br
/>
<br
/>
<h4>
Check
<a
href=
"#"
>
GitHub
</a>
for more
</h4>
<br
/>
<h4>
Install
</h4>
<p
class=
"code"
>
npm install vue-masked-input --save
</p>
<h4>
Use
</h4>
<p
class=
"code"
>
import MaskedInput from 'vue-masked-input'
<br
/>
...
<br
/>
components: {
<br
/>
MaskedInput
<br
/>
}
</p>
<br
/>
<h4>
Check
<a
href=
"https://github.com/niksmr/vue-masked-input"
>
GitHub
</a>
for more
</h4>
</div>
</div>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment