Skip to content

feat: Vue adapter package (loadgo-vue) #25

@franverona

Description

@franverona

Summary

Add a loadgo-vue package providing an idiomatic Vue API over the existing vanilla JS core via a composable.

Motivation

The vanilla JS implementation works in Vue via onMounted/onUnmounted, but users have to manually handle init/destroy lifecycle. A composable removes that boilerplate.

Proposed API

// Composable
const { setprogress, getprogress, resetprogress, loop, stop } = useLoadgo(ref, options)

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions