# jquery-lib-sample

> npm install jquery-lib-sample --save

Latest version **1.0.2** (published 2020-06-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install jquery-lib-sample
pnpm add jquery-lib-sample
yarn add jquery-lib-sample
bun add jquery-lib-sample
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-06-11 |
| First published | 2020-06-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sumit Balyan |
| Maintainers | balyansumit |
| Keywords | jquery-react, react, jquery, sample jquery, react-jquery, jquery for react |

## Links

- npm: https://www.npmjs.com/package/jquery-lib-sample
- npm.io page: https://npm.io/package/jquery-lib-sample

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-06-11
- 1.0.1 — 2020-06-04
- 1.0.0 — 2020-06-04

## README

# Sample Javascript library like Jquery

## Getting started

npm install jquery-sample-lib --save


## Usage
```javascript

import $ from'jquery-lib-sample';

or

const $ = require('jquery-sample-lib');

// get HTML of element
console.log('html  ',$('h3').html());

// get ID
console.log('ID  ',$('h3').getId());

## get innerText
console.log('Inner Text  ',$('h3').getText());

## add events
$('h3').on('click',() => {
    alert('clicked!');
});

// hide element
$('h3').hide();

// show element
$('h3').show();

// get or set attribute
$('h3').attr('class','redh3');

// remove attribute
$('h3').removeAttr('class');

// set backround
$('h3').setBackground('red');

// remove background
$('h3').removeBackground();

// set color
$('h3').setColor('red');

// remove color
$('h3').removeColor();

//check element is disabled
$('#libtext').isDisabled();

//set disabled
$('#libtext').setDisabled();

//remove disabled
$('#libtext').removeDisabled();

//back to previous page
$().back();

//go to next page
$().forward();

//go to next page
$().go(-1);

//....and many more 

```

## Happy programming!!

---
_Source: https://npm.io/package/jquery-lib-sample · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
