[Switch] Custominfo Variable

[Switch] Custominfo Variable

  
Forge Component
(4)
Published on 2013-05-09 by Hélio Dolores
4 votes
Published on 2013-05-09 by Hélio Dolores

Thanks for your contribution.

What is the use of custominfo variable ? Where can I find more information?


TIA

Hi Alberto,

I'm sorry for the late response.

This component is quite old and the library used is already outdated.

These CustomInfo values were used to override some default values here:
https://github.com/nostalgiaz/bootstrap-toggle-buttons/blob/master/static/js/jquery.toggle.buttons.js

In this part of the code:
In the constructor I'm already defining some of them (e.g label, width, ...):

Hope it helps!

best,
Hélio