Thanks, Joe and Beka for the Great recommendations replay. I went through the documentation. But I'm not clear about how to call and where to add the "
setCollapsed()". I need some implementation examples/source code or steps to implementation flow for a better understanding.
My doubt is:
1. Where(in which file) to add
setOnClickHandler event? and write following code?
function() {
this.getSourceBlock().setCollapsed(true);
}One more idea I have like... Instead of Adding image field or +/- buttons Do we have facilities like when we double click on the block, Block will get the collapse and again will double click it will get expand. So the double click on the block will be user-friendly to collapse and expand the block. Please share the recommendations/Course code/examples/steps to implement the same