MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / setProps

Method setProps

src/components/Window/RNWindow.ts:33–35  ·  view source on GitHub ↗
(newProps: WindowProps, oldProps: WindowProps)

Source from the content-addressed store, hash-verified

31 */
32export class RNWindow extends QMainWindow implements RNWidget {
33 setProps(newProps: WindowProps, oldProps: WindowProps): void {
34 setWindowProps(this, newProps, oldProps);
35 }
36 removeChild(child: QWidget<any>) {
37 const removedChild = this.takeCentralWidget();
38 if (removedChild) {

Callers 2

createInstanceMethod · 0.95
commitUpdateMethod · 0.45

Calls 1

setWindowPropsFunction · 0.85

Tested by

no test coverage detected