New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-tables-2

Package Overview
Dependencies
Maintainers
1
Versions
343
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tables-2 - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

lib/methods/row-was-clicked.js

3

lib/mixins/methods.js

@@ -27,3 +27,4 @@ module.exports = {

optionText: require('../filters/option-text'),
render: require('../methods/render')
render: require('../methods/render'),
rowWasClicked:require('../methods/row-was-clicked')
}

@@ -30,0 +31,0 @@ }

@@ -16,3 +16,3 @@ module.exports = function(h, that) {

rows.push(<tr>{columns} </tr>)
rows.push(<tr on-click={that.rowWasClicked.bind(that, row)}>{columns} </tr>)
}.bind(that))

@@ -19,0 +19,0 @@

{
"name": "vue-tables-2",
"description": "Vue.js 2 grid components",
"version": "0.0.4",
"version": "0.0.5",
"keywords": [

@@ -6,0 +6,0 @@ "vue2",

# Vue Tables 2
[![npm version](https://badge.fury.io/js/vue-tables.svg)](https://badge.fury.io/js/vue-tables-2)
[![npm version](https://badge.fury.io/js/vue-tables-2.svg)](https://badge.fury.io/js/vue-tables-2)

@@ -107,21 +107,2 @@ This Vue package offers an easy and intuitive way of displaying Bootstrap-styled grids with data coming either from the client or from the server.

### Events
Listen to events using the `bus` you pulled above.
E.g:
bus.$on('vue-tables.loaded', function(data) {
// Do something
});
`vue-tables.loading`
Fires off when a request is sent to the server. Sends through the request data.
`vue-tables.loaded`
Fires off after the response data has been attached to the table. Sends through the response.
You can listen to those complementary events on a parent component and use them to add and remove a *loading indicator*, respectively.
### Programmatic reload

@@ -178,2 +159,25 @@

### Events
Listen to events using the `bus` you pulled above.
E.g:
bus.$on('vue-tables.loaded', function(data) {
// Do something
});
`vue-tables.loading` (server)
Fires off when a request is sent to the server. Sends through the request data.
`vue-tables.loaded` (server)
Fires off after the response data has been attached to the table. Sends through the response.
You can listen to those complementary events on a parent component and use them to add and remove a *loading indicator*, respectively.
`vue-tables.row-click`
Fires off after a row was clicked. sends through the row
# Custom Filters

@@ -180,0 +184,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc