Unverified Commit b820bcec authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera
Browse files

feat: add interactive layer fn

parent 6a10a16f
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
export const props = {
  interactive: {
    type: Boolean,
    default: true,
  },
  bubblingMouseEvents: {
    type: Boolean,
    default: true,
  },
};

export const setup = (props) => {
  const options = {
    interactive: props.interactive,
    bubblingMouseEvents: props.bubblingMouseEvents,
  };

  const methods = {};

  return { options, methods };
};