<commit_before># jQuery On Screen Plugin

This plugin is a simple way to test if a given element (or part there-of) is inside the bounds of the current viewport. You can use it for all sorts of things, like delaying animations and other javascript from executing until an element is visible to the user - regardless of their device or screen size.

## Example Usage

Use the plugin as follows:
```js
if ($('#element').onScreen()) {
    // Your element is in the Viewport
}
```


## Notes & Contribution

Feel free to send me changes and improvements, or file an issue if you notice something isn't working as well as it should be.

This is my first little Open Source contribution, so be gentle with your feedback!<commit_msg>Expanded on the examples in the README.<commit_after># jQuery On Screen Plugin

This plugin is a simple way to test if a given element (or part there-of) is inside the bounds of the current viewport. You can use it for all sorts of things, like delaying animations and other javascript from executing until an element is visible to the user - regardless of their device or screen size.

## Example Usage

Use the plugin as follows:
```js
$('#element').onScreen();
```
Returns true if the element is visible in the viewport, or false if it is not.

You can use it as part of a conditional statement as follows:
```js
if ($('#element').onScreen()) {
    // Your element is in the Viewport
} else {
    // Your element is not in the Viewport
}
```

To see a working example of this plugin, demo.html has been provided as part of the package.

## Notes & Contribution

Feel free to send me changes and improvements, or file an issue if you notice something isn't working as well as it should be.

This is my first little Open Source contribution, so be gentle with your feedback!
{'fraction_non_alphanumeric': 0.06274292059966685, 'fraction_numerical': 0.0, 'mean_word_length': 3.977900552486188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1387539', 'n_tokens_mistral': 466, 'n_tokens_neox': 442, 'n_words': 292}