Похожие чаты

Is it correct way to pass methods ? method

is not invoking

9 ответов

8 просмотров

Is that JS language?

decoder- Автор вопроса

wow my eyes

decoder- Автор вопроса

basically viewSeries and viewPublications are JS methods

decoder
Yeah vue.js

They have like angle brackets <>, colons at the indentation parts, and @ sign, and triple equal sign.

decoder- Автор вопроса
Charlemagne Holdt
They have like angle brackets <>, colons at the in...

if I am passing @callback="viewSeries" working fine could you write here snippet to pass methods as conditional ?

decoder
if I am passing @callback="viewSeries" working fin...

I don’t recognize that vue.js, just Vanilla JavaScript...

decoder- Автор вопроса
Charlemagne Holdt
I don’t recognize that vue.js, just Vanilla JavaSc...

oh in vanila we could pass like this only table.resultView === 'Publication' ? viewSeries : viewPublication

decoder- Автор вопроса

This worked v-on="{ callback: table.resultView === 'Publication' ? viewSeries : viewPublication }"

Похожие вопросы

Обсуждают сегодня

Карта сайта