$(3PYON)Pyon manual · the Pyon app (index.html)$(3PYON)

NAME

$ — find one element of the page by a CSS selector

SYNOPSIS

$(s)

DESCRIPTION

A short name for document.querySelector, used throughout the app's script, which lives in one closure so that nothing leaks into the page's global names.

PARAMETERS

s: a CSS selector, such as "#play" or "#lines .line".

RETURN VALUE

The first element that matches, or null.

SEE ALSO

actor(3pyon), layout(3pyon)

SOURCE

src/pyon.html, line 247

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0