Sha256: d085d2bc230dc9535362c7522f18ede96d19a064cf87b87c48e6c729de6e3b42
Contents?: true
Size: 483 Bytes
Versions: 7
Compression:
Stored size: 483 Bytes
Contents
import { CocoComponent } from "@assets/js/shared/coco.js"; export default CocoComponent("icon", () => { return { options: ["style", "spin"], get spin() { return this.$options.spin; }, set spin(val) { this.$options.spin = val; }, get fill() { return this.$options.style === "fill"; }, set fill(val) { this.$options.style = val === true ? "fill" : "line"; }, root: { "x-options": "options", }, }; });
Version data entries
7 entries across 7 versions & 1 rubygems