How to use the trash.png function in trash

To help you get started, we’ve selected a few trash examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github C451 / trading-vue-js / src / helpers / dc_events.js View on Github external
add_trash_icon() {
        const type = 'System:Remove'
        if (this.data.tools.find(x => x.type === type)) {
            return
        }
        this.data.tools.push({
            type, icon: Icons['trash.png']
        })
    }

trash

Move files and folders to the trash

MIT
Latest version published 3 months ago

Package Health Score

70 / 100
Full package analysis

Popular trash functions