0.1.0 • Published 2 years ago
lostmechanics-framework v0.1.0
Lost Mechanics - Framework
Install
yarn add lostmechanics-framework
npm i lostmechanics-framework
MechaButton
import { MechaButton } from "lost-mechanics-button";
export default {
...
components: {
MechaButton;
}
...
};
<MechaButton
:visible="true"
:disabled="false"
:animations="yourAnimations"
@click="handleClick"
>
<template #icon-left><YourLeftIcon /></template>
Button label
<template #label-hover>Hover button label</template>
<template #icon-right><YourRightIcon /></template>
</MechaButton>
To get animations data, you can use the Lost mMechanics - Button configurator.