How to use the @jupyterlab/cells.InputArea.ContentFactory function in @jupyterlab/cells

To help you get started, we’ve selected a few @jupyterlab/cells examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / jupyterlab / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should create a new content factory', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory).to.be.an.instanceof(InputArea.ContentFactory);
        });
      });
github jupyterlab / jupyterlab-data-explorer / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should create an input prompt', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory.createInputPrompt()).to.be.an.instanceof(InputPrompt);
        });
      });
github jupyterlab / jupyterlab / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should create an input prompt', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory.createInputPrompt()).to.be.an.instanceof(InputPrompt);
        });
      });
github jupyterlab / jupyterlab / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should be the code editor factory being used', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory.editorFactory).to.equal(
            InputArea.defaultEditorFactory
          );
        });
      });
github jupyterlab / jupyterlab-data-explorer / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should be the code editor factory being used', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory.editorFactory).to.equal(
            InputArea.defaultEditorFactory
          );
        });
      });
github jupyterlab / jupyterlab-data-explorer / tests / test-cells / src / inputarea.spec.ts View on Github external
it('should create a new content factory', () => {
          const factory = new InputArea.ContentFactory();
          expect(factory).to.be.an.instanceof(InputArea.ContentFactory);
        });
      });