refactor(docs): Change behavior to behaviors
Makes a better URL.
This commit is contained in:
parent
a685d88744
commit
2871dca9bf
16 changed files with 45 additions and 45 deletions
42
docs/docs/behaviors/misc.md
Normal file
42
docs/docs/behaviors/misc.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
title: Miscellaneous Behaviors
|
||||
sidebar_label: Miscellaneous
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
There are a few miscellaneous behaviors that are helpful when working with layers in keymaps,
|
||||
in particular, with handling what happens in higher layers, and if events are passed to
|
||||
the next layer or not
|
||||
|
||||
## Transparent
|
||||
|
||||
The transparent behavior simply ignores key position presses/releases, so they will be
|
||||
passed down to the next active layer in the stack.
|
||||
|
||||
### Behavior Binding
|
||||
|
||||
- Reference: `&trans`
|
||||
- Parameters: None
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
&trans
|
||||
```
|
||||
|
||||
## None
|
||||
|
||||
The none behavior simply swallows and stops key position presses/releases, so they will **not**
|
||||
be passed down to the next active layer in the stack.
|
||||
|
||||
### Behavior Binding
|
||||
|
||||
- Reference: `&none`
|
||||
- Parameters: None
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
&none
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue