Render Content in New Window – SolidJS New Window

Use Solid New Window to render content in separate windows with ease. Customize titles, features, and manage lifecycles easily.

Solid New Window is a SolidJS component that enables developers to render content in a new browser window using the window.open API.

It is inspired by react-new-window but tailored for SolidJS.

Features:

🛠️ Customizable: Configurable title, window features, and content centering.

📄 Style Copying: Option to copy styles from the parent window.

♻️ Lifecycle Management: Automatically handles window opening and closing.

🗝️ Context Hooks: Access new window objects and parent window focus functions.

Installation:

# NPM
$ npm install solid-new-window

Details:

Solid New Window simplifies the creation of pop-up windows within SolidJS applications.

Developers can quickly integrate this component to enhance user interaction by rendering dynamic content in separate browser windows.

Preview:

Deluksic

Deluksic

Leave a Reply

Your email address will not be published. Required fields are marked *