New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wing-feedback

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wing-feedback

feedback components with vue

latest
npmnpm
Version
0.0.2
Version published
Maintainers
0
Created
Source

wing-feedback

Install

$ npm install wing-feedback

Usage

<template>
  <FeedbackProvider>
    <button @click="submit">Submit</button>
  </FeedbackProvider>
</template>

<script setup lang="ts">
import { useFeedback } from 'wing-feedback';
const { showToast, showModal, showLoading, FeedbackProvider } = useFeedback();

async function submit() {
  const confirm = await showModal({ title: '提示', content: '是否进行提交操作?', showCancel: true });
  if (confirm) {
    const closeLoading = showLoading({ content: '提交中...' });
    setTimeout(() => {
      closeLoading();
      showToast({ content: '提交成功' });
    }, 1500);
  }
}
</script>

Keywords

feedback

FAQs

Package last updated on 19 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts