Snapbar vs. ImgSplitBar

I may be misunderstanding how these two objects work, so if I am please correct me.

I’m trying to create a resize bar that will:

  1. show only a resize grip without the bar, and
  2. show closed/open states for the grip image

As far as I can tell, the ImgSplitBar fulfills requirement (1), and the SnapBar fulfills requirement (2), but no object fulfills both. I could, of course, create my own overloaded version of the ImgSplitBar to change the image when the state of the bar changes from open to closed or vice versa, but before I go that route, is there already a SmartClient object with that functionality?

Use a Snapbar and wipe out the media for the bar as such (eg blank images).

Is there an online example of Snapbar?

Yes - it is actually the default resizeBarClass used by Layouts in the SmartClient skin, so everywhere you are seeing resizebars (eg down the center of the Showcase Application) they are Snapbars. This is done as follows:

    isc.Layout.addProperties({
        resizeBarClass:"Snapbar"
    })