jms icon indicating copy to clipboard operation
jms copied to clipboard

Unify pipe and pipeArguments

Open flauc opened this issue 2 years ago • 0 comments

Unify table.tableColumns.pipe and table.tableColumns.pipeArguments under single property pipe.

from:

pipe: ['uppercase', 'custom'],
pipeArguments: {
  1: `(item) => '<a href=' + val + '>' + val + '</a>'`
}

to:

pipe: ['uppercase', (word) => `<a href="${word}">${word}</a>`]

flauc avatar Sep 13 '21 06:09 flauc