Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "grid-plan", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -124,2 +124,8 @@ <p align="center"> | ||
// Events | ||
function selectType(menuItem) { | ||
// Triggered when a menu item is selected | ||
console.log("SELECT TYPE", menuItem); | ||
} | ||
function change(item) { | ||
@@ -167,4 +173,5 @@ // Triggered whenever an item is changed | ||
@unselect="unselected" | ||
@selectType="selectType" | ||
> | ||
<!-- Create your available types menu --> | ||
<!-- Create your available types menu (target the .grid-plan-menu css class to style the menu container)--> | ||
<template #availableType="{ availableType }"> | ||
@@ -171,0 +178,0 @@ <!-- The click event is managed by the component, that will select the type to be used when adding a component to the blueprint --> |
Sorry, the diff of this file is too big to display
93800
1487
372