{"id":14990327,"url":"https://github.com/vaadin/vaadin-split-layout","last_synced_at":"2025-04-07T07:07:56.361Z","repository":{"id":10311014,"uuid":"65303497","full_name":"vaadin/vaadin-split-layout","owner":"vaadin","description":"The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.","archived":false,"fork":false,"pushed_at":"2025-02-11T12:59:07.000Z","size":3908,"stargazers_count":40,"open_issues_count":0,"forks_count":9,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-31T06:02:13.652Z","etag":null,"topics":["polymer","polymer-element","polymer2","split-layout","split-panel","vaadin","web-component","webcomponents"],"latest_commit_sha":null,"homepage":"https://vaadin.com/components","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaadin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-09T14:52:27.000Z","updated_at":"2025-02-11T12:59:08.000Z","dependencies_parsed_at":"2024-04-02T08:28:59.814Z","dependency_job_id":"3e875677-8d62-4d6a-8c38-7b60379d19de","html_url":"https://github.com/vaadin/vaadin-split-layout","commit_stats":{"total_commits":344,"total_committers":28,"mean_commits":"12.285714285714286","dds":0.7819767441860466,"last_synced_commit":"5eb56eb03a8ac4959116f94a2dcc66c6cecddc37"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-split-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-split-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-split-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-split-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaadin","download_url":"https://codeload.github.com/vaadin/vaadin-split-layout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608151,"owners_count":20965952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["polymer","polymer-element","polymer2","split-layout","split-panel","vaadin","web-component","webcomponents"],"created_at":"2024-09-24T14:19:53.931Z","updated_at":"2025-04-07T07:07:56.339Z","avatar_url":"https://github.com/vaadin.png","language":"HTML","readme":"# \u0026lt;vaadin-split-layout\u0026gt;\n\n\u003e ⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the [`vaadin/web-components`](https://github.com/vaadin/web-components/tree/master/packages/vaadin-split-layout) monorepository.\n\u003e This repository contains the source code and releases of `\u003cvaadin-split-layout\u003e` for the Vaadin versions 10 to 19.\n\n[\u0026lt;vaadin-split-layout\u0026gt;](https://vaadin.com/components/vaadin-split-layout) is a Web Component implementing a split layout for two content elements with a draggable splitter between them, part of the [Vaadin components](https://vaadin.com/components).\n\n[Live Demo ↗](https://vaadin.com/components/vaadin-split-layout/html-examples)\n|\n[API documentation ↗](https://vaadin.com/components/vaadin-split-layout/html-api)\n\n[![npm version](https://badgen.net/npm/v/@vaadin/vaadin-split-layout)](https://www.npmjs.com/package/@vaadin/vaadin-split-layout)\n[![Bower version](https://badgen.net/github/release/vaadin/vaadin-split-layout)](https://github.com/vaadin/vaadin-split-layout/releases)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-split-layout)\n[![Build status](https://travis-ci.org/vaadin/vaadin-split-layout.svg?branch=master)](https://travis-ci.org/vaadin/vaadin-split-layout)\n[![Coverage Status](https://coveralls.io/repos/github/vaadin/vaadin-split-layout/badge.svg?branch=master)](https://coveralls.io/github/vaadin/vaadin-split-layout?branch=master)\n[![Published on Vaadin  Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-split-layout)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/vaadinvaadin-split-layout.svg)](https://vaadin.com/directory/component/vaadinvaadin-split-layout)\n\n\u003c!---\n```\n\u003ccustom-element-demo height=\"218\"\u003e\n  \u003ctemplate\u003e\n    \u003cstyle\u003e\n      vaadin-split-layout {\n        height: 200px;\n      }\n      vaadin-split-layout \u003e div {\n        font-family: sans-serif;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n      }\n    \u003c/style\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"vaadin-split-layout.html\"\u003e\n    \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003cvaadin-split-layout\u003e\n  \u003cvaadin-split-layout orientation=\"vertical\"\u003e\n    \u003cdiv\u003eFirst layout content\u003c/div\u003e\n    \u003cdiv\u003eSecond layout content\u003c/div\u003e\n  \u003c/vaadin-split-layout\u003e\n  \u003cvaadin-split-layout orientation=\"vertical\"\u003e\n    \u003cdiv\u003eThird layout content\u003c/div\u003e\n    \u003cdiv\u003eFourth layout content\u003c/div\u003e\n  \u003c/vaadin-split-layout\u003e\n\u003c/vaadin-split-layout\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/vaadin/vaadin-split-layout/master/screenshot.png\" width=\"616\" alt=\"Screenshot of vaadin-split-layout\"\u003e](https://vaadin.com/components/vaadin-split-layout)\n\n## Installation\n\nThe Vaadin components are distributed as Bower and npm packages.\nPlease note that the version range is the same, as the API has not changed.\nYou should not mix Bower and npm versions in the same application, though.\n\nUnlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components\nare only published on npm, not pushed to GitHub repositories.\n\n### Polymer 2 and HTML Imports Compatible Version\n\nInstall `vaadin-split-layout`:\n\n```sh\nbower i vaadin/vaadin-split-layout --save\n```\n\nOnce installed, import it in your application:\n\n```html\n\u003clink rel=\"import\" href=\"bower_components/vaadin-split-layout/vaadin-split-layout.html\"\u003e\n```\n### Polymer 3 and ES Modules Compatible Version\n\nInstall `vaadin-split-layout`:\n\n```sh\nnpm i @vaadin/vaadin-split-layout --save\n```\n\nOnce installed, import it in your application:\n\n```js\nimport '@vaadin/vaadin-split-layout/vaadin-split-layout.js';\n```\n\n## Getting started\n\nVaadin components use the Lumo theme by default.\n\nTo use the Material theme, import the correspondent file from the `theme/material` folder.\n\n## Entry points\n\n- The component with the Lumo theme:\n\n  `theme/lumo/vaadin-split-layout.html`\n\n- The component with the Material theme:\n\n  `theme/material/vaadin-split-layout.html`\n\n- Alias for `theme/lumo/vaadin-split-layout.html`:\n\n  `vaadin-split-layout.html`\n\n\n## Running demos and tests in a browser\n\n1. Fork the `vaadin-split-layout` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) and [Bower](https://bower.io) installed.\n\n1. When in the `vaadin-split-layout` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Make sure you have [polymer-cli](https://www.npmjs.com/package/polymer-cli) installed globally: `npm i -g polymer-cli`.\n\n1. Run `npm start`, browser will automatically open the component API documentation.\n\n1. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example:\n\n  - http://127.0.0.1:3000/components/vaadin-split-layout/demo\n  - http://127.0.0.1:3000/components/vaadin-split-layout/test\n\n\n## Running tests from the command line\n\n\u003e [!WARNING]\n\u003e Running tests locally from the CLI does not work due to outdated dependencies. Run tests via SauceLabs or in the browser instead.\n\n1. When in the `vaadin-split-layout` directory, run `polymer test`\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. You can check if your code is following our standards by running `npm run lint`, which will automatically lint all `.js` files as well as JavaScript snippets inside `.html` files.\n\n\n## Big Thanks\n\nCross-browser Testing Platform and Open Source \u003c3 Provided by [Sauce Labs](https://saucelabs.com).\n\n\n## Contributing\n\n  To contribute to the component, please read [the guideline](https://github.com/vaadin/vaadin-core/blob/master/CONTRIBUTING.md) first.\n\n\n## License\n\nApache License 2.0\n\nVaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-split-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaadin%2Fvaadin-split-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-split-layout/lists"}