Recently, while exploring some vue.js code on GitHub HERE, I stumbled upon the following snippet:
menu-dropdown.task-dropdown(
v-if="!isRunningYesterdailies",
:right="task.type === 'reward'",
ref="taskDropdown",
v-b-tooltip.hover.top="$t('options')"
)
I'm having trouble grasping the purpose of the :right
attribute in this code. As someone new to Vue.js, I've managed to find documentation for most attributes used here except for :right
. Can anyone provide insight on what exactly it does?