Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/vue3js.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>How to integrate GridStack.js with Vue.js</h1>
setup() {
let count = ref(0);
let info = ref("");
let grid = null; // DO NOT use ref(NULL) as proxies GS will break all logic when comparing structures... see https://github.com/gridstack/gridstack.js/issues/2115
let grid = null; // DO NOT use ref(null) as proxies GS will break all logic when comparing structures... see https://github.com/gridstack/gridstack.js/issues/2115
const items = [
{ x: 2, y: 1, h: 2 },
{ x: 2, y: 4, w: 3 },
Expand Down
2 changes: 1 addition & 1 deletion demo/vue3js_v-for.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1>How to integrate GridStack.js with Vue.js</h1>
let gridFloat = ref(false);
let color = ref("black");
let gridInfo = ref("");
let grid = null; // DO NOT use ref(NULL) as proxies GS will break all logic when comparing structures... see https://github.com/gridstack/gridstack.js/issues/2115
let grid = null; // DO NOT use ref(null) as proxies GS will break all logic when comparing structures... see https://github.com/gridstack/gridstack.js/issues/2115
let items = ref([]);

onMounted(() => {
Expand Down