feat: Refactor splitViews module and add browser-splitViews module

This commit is contained in:
Mauro Balades 2024-08-06 11:01:17 +02:00
parent 779a0251ba
commit 0b1af942fe
2 changed files with 14 additions and 0 deletions

View file

@ -1,2 +1,16 @@
# components
Some components used by @zen-browser and @Floorp-Projects as an attempt to make firefox forks a better place
## Example usage
```js
import("chrome://../browser-splitView.mjs").then(
({ SplitViews }) => {
window.gSplitView = new SplitViews({
keyIndicator: "zen-splitted",
browserName: "zen",
defaultSplitView: "grid",
});
}
);
```