How to use ImageCroppingWidget ez

I am a beginner in vtk.js
I have a name.vtkjs file. I try to use ‘ImageCroppingWidget’, but it does not work.
there are some examples,but for **.vti file