Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vue-draggable-grid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
vue-draggable-grid
Commits
83a2bc21
Commit
83a2bc21
authored
2 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Reword docs
parent
6ca279d5
No related branches found
No related tags found
1 merge request
!2
Resolve "Implement basic functionality"
Pipeline
#115758
passed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/examples/Disabled.md
+3
-2
3 additions, 2 deletions
docs/examples/Disabled.md
docs/guide/index.md
+1
-3
1 addition, 3 deletions
docs/guide/index.md
with
4 additions
and
5 deletions
docs/examples/Disabled.md
+
3
−
2
View file @
83a2bc21
...
...
@@ -2,10 +2,11 @@
This uses the same data as the tic-tac-toe but is completely disabled.
Notice how the items still move if the tic-tac-toe data
change. Uncheck the checkbox to enable
:
change. Uncheck the
first
checkbox to enable
the grid.
The grid can also be in a loading state, in which it is disabled as well,
but it displays loading symbols everywhere. Check the checkbox to try:
but it displays loading symbols everywhere. Check the second checkbox to
enable the loading state.
<ClientOnly>
<script
setup
>
...
...
This diff is collapsed.
Click to expand it.
docs/guide/index.md
+
1
−
3
View file @
83a2bc21
...
...
@@ -17,7 +17,7 @@ Vue.use(draggableGrid);
// Now create your app as usual
```
Inside the component wher
e
y
ou
want to use the grid define your grid and data as follow
s:
An example usag
e
c
ou
ld look like thi
s:
```
vue
<
template
>
...
...
@@ -70,8 +70,6 @@ export default {
A field (or cell) can be blocked via the
`disabledFields`
prop. The prop receives an array of objects, containing the
coordinates of the blocked fields.
An example for a disabled fields property:
```
javascript
disabledFields
:
[
{
x
:
1
,
y
:
1
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment