kibana/x-pack/examples/screenshotting_example
Dario Gieselaar 98ce312ba3
More strict plugin type definitions (#205232)
Stricter defaults for plugin types: `Plugin` and `CoreSetup` now have
empty objects as defaults instead of `object` which is assignable to
anything basically. This catches some type errors, but my motivation for
this is to allow something like:

```ts
function createPlugin ():Plugin<MySetupContract, MyStartContract, MySetupDependencies, MyStartDependencies> {
	return {
		// look ma, no additional typing necessary
		setup ( coreSetup, pluginsSetup ) {
		},
		start ( coreStart, pluginsStart ) {
		}
	}
}
```
2025-01-07 16:41:15 +01:00
..
common
public Preparation for High Contrast Mode, Core/SharedUX domains (#202606) 2024-12-05 08:26:41 -07:00
server More strict plugin type definitions (#205232) 2025-01-07 16:41:15 +01:00
kibana.jsonc [SKA] Categorize outstanding shared-ux modules (#205378) 2025-01-02 08:14:22 -06:00
README.md
tsconfig.json [EuiProvider] Fix AppEx-SharedUX code (#183872) 2024-05-22 09:57:05 -07:00

Screenshotting Example

Screenshotting integration example plugin.

This plugin demonstrates the usage of the screenshotting plugin capabilities. The interaction happens on the backend via an API endpoint exposed by the plugin.

The plugin provides a way to input an expression on the front-end side. The expression will be rendered by an internal screenshotting application in Chromium on the backend.

To run this example, use the following command:

$ yarn start --run-examples