RenderedJavaScript | @jupyterlab (original) (raw)

activate

addClass

children

A new iterator over the children of the widget.

Notes

The widget must have a populated layout in order to have children.
If a layout is not installed, the returned iterator will be empty.

clearFlag

close

contains

true if the widget is a descendant, false otherwise.

dispose

fit

hasClass

true if the node has the class, false otherwise.

hide

ProtectednotifyLayout

ProtectedonActivateRequest

ProtectedonAfterAttach

ProtectedonAfterDetach

ProtectedonAfterHide

ProtectedonAfterShow

ProtectedonBeforeAttach

ProtectedonBeforeDetach

ProtectedonBeforeHide

ProtectedonBeforeShow

ProtectedonChildAdded

Returns void

ProtectedonChildRemoved

Returns void

ProtectedonCloseRequest

ProtectedonFitRequest

ProtectedonResize

Returns void

ProtectedonUpdateRequest

processMessage

removeClass

render

A promise which resolves when rendering is complete.

renderModel

A promise which resolves when rendering is complete.

Notes

By default, if the DOM node for this widget already has content, it is emptied before rendering. Subclasses that do not want this behavior (if, for instance, they are using DOM diffing), should override this method or call super.renderModel(model, true).

setFlag

ProtectedsetFragment

Returns void

setHidden

Returns void

show

testFlag

toggleClass

Returns boolean

true if the class is now present, false otherwise.

Notes

The class name must not contain whitespace.

update