mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 01:10:12 +02:00
feat: Refactor splitViews module and add browser-splitViews module
This commit is contained in:
parent
779a0251ba
commit
0b1af942fe
2 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -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",
|
||||
});
|
||||
}
|
||||
);
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue