Difference between CUSTOM and PARAMS

What is difference between CUSTOMN and PARAMS

1 Like

customs are configured directly in the view itself, params are passed to it.

If you’re familiar with programming languages, it’s pretty much the same difference as between parameters passed to a function (view parameters) and the variables defined in its scope (customs).
Or with a class, params would be the parameters passed to its constructor when you instantiate it, customs would be its attributes.

1 Like

I think you have a 'CUSTOMN’typo in the title and question.

In Perspective,
PARAMS

  • Are read once on loading the view.
  • Once the view is loaded it will not react to changes in any of the view parameters.
  • Cannot take a binding.

CUSTOM

  • Cannot take a parameter from another view.
  • Can take a binding.
1 Like

thank you