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AUjyRocUK7XlgAkmdHkXWuj3PZcb2fd641ySid7fioC1aelwlrsi5YADLBbdNkLI+5GIFD7lvsqADCPI8sjE0gO1rStFjNHnQNpPk0ToOEIgQIwBT2kZSmYhoJcaDM6Nsm4eCkElMQKjOF9OmSmthmbUyZlsrtHKlaSADq0DwAgLMw/Vyoq7AmN0/zIDIuRYga31A1G3e6l84dYP3j+ptUyJt525D+s2yAlbwA730DZ7VsyTJXSMEOoisKW8BcPggyauAquINAdiWPi+IACwAKKPI8KduAAnNwACO7WhDYfA8JiugiCXmCQFAEEAuGei0AAjAADMIYh2DXassRU3pAA

Developing widgets

Here you will find tips / tricks on how to develop for widgets

Interdum et malesuada

fames ac ante ipsum primis in faucibus. Duis commodo lobortis laoreet. Praesent id urna at erat vestibulum egestas vel quis neque. Etiam sed aliquam purus, ac lacinia libero. Donec eu venenatis sapien. Etiam eu risus id lorem fringilla aliquet. Nullam libero ex, fringilla ac lobortis sit amet, fermentum ac nulla. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nullam tempor rutrum justo, scelerisque convallis metus. Morbi tellus felis, tincidunt eget finibus vitae, facilisis sed leo.


Special code snippets

Only for the special things that we can use

Running a widgetconfig (not in a config modal).


With the following code we can add the content of any widget into any part of the screen.

As an example i took a widget called freeform.
When the widget is loaded on the page, the default configuration can be found in the global
variable : _wf.widget.config.<name of widget>.
DO NOT change that config, so always use $.extend(true... to make a copy of the default cfg.

var combinedconfig = $.extend(true,{destid:"#leo"},_wf.widget.config.freeform.json)

_c2._base.createCustomForm(combinedconfig );