Skip to content

documentation: correct you.md #617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/expressions/you.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ title: you/yourself/your - ///_hyperscript

The `you` reference is available within the [tell command](/commands/tell) as a reference to current node being acted upon.

Most hyperscript features run within the context of an HTML element. For example, `<div _="on click ...">` is an [event handler](/features/on) that runs in the context of the `<div>` that contains it. Within these scripts, you can use the `me` expression as a link back to their associated HTML element.
Most hyperscript features run within the context of an HTML element. For example, `<div _="on click ...">` is an [event handler](/features/on) that runs in the context of the `<div>` that contains it. Within these scripts, you can use the `you` expression as a link back to their associated HTML element.

If it makes the code more readable in English, `yourself` can be used as an alias.

For [possessive expressions](/expressions/possessive), `your` will also work, as in `my property` instead of `me.property`.
For [possessive expressions](/expressions/possessive), `your` will also work, as in `your property` instead of `you.property`.

### Examples

Expand Down