All Projects → bl0cknumber → amirajs

bl0cknumber / amirajs

Licence: MIT license
Amirajs is Lightweight (~0.4kb compressed) JS Library for DOM Manipulation

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to amirajs

nojs
Library that helps minimize js you have to write
Stars: ✭ 118 (+883.33%)
Mutual labels:  javascript-library, dom-manipulation
Glize
📚 Glize is a clean and robust pure Javascript library.
Stars: ✭ 16 (+33.33%)
Mutual labels:  javascript-library, dom-manipulation
rottenjs
An all-in-one (2.6kb) Javascript library for web development
Stars: ✭ 15 (+25%)
Mutual labels:  javascript-library, dom-manipulation
necktie
Necktie – a simple DOM binding tool
Stars: ✭ 43 (+258.33%)
Mutual labels:  javascript-library, dom-manipulation
Kursor
Cursor style with javascript and css
Stars: ✭ 140 (+1066.67%)
Mutual labels:  javascript-library
shikijs
A JavaScript Library for Syntax Highlighting with Awesome themes
Stars: ✭ 21 (+75%)
Mutual labels:  javascript-library
ReactNativeWorkshop
Demo project using React Native technology to create a simple iOS app to find music in iTunes
Stars: ✭ 55 (+358.33%)
Mutual labels:  javascript-library
sane-reports
Reports library that will keep you sane and not pulling your hair out
Stars: ✭ 47 (+291.67%)
Mutual labels:  javascript-library
DevHelpBox
we are creating this community so that other developers can get benefits of it.
Stars: ✭ 35 (+191.67%)
Mutual labels:  javascript-library
Mei.js
a minimal, simple and helpful library for you
Stars: ✭ 15 (+25%)
Mutual labels:  javascript-library
enterprise
Enterprise-grade component library for the Infor Design System
Stars: ✭ 117 (+875%)
Mutual labels:  javascript-library
visdom
A library use jQuery like API for html parsing & node selecting & node mutation, suitable for web scraping and html confusion.
Stars: ✭ 80 (+566.67%)
Mutual labels:  dom-manipulation
animeflv
Animeflv is a custom API that has the entire catalog of the animeflv.net website. You can enjoy all the content with subtitles in Spanish and the latest in the world of anime for free.
Stars: ✭ 37 (+208.33%)
Mutual labels:  javascript-library
jducers
A js transducers-like implementation using ES9
Stars: ✭ 25 (+108.33%)
Mutual labels:  javascript-library
ts-init
Minimalist TypeScript package initializer - like `npm init`, but for TS.
Stars: ✭ 27 (+125%)
Mutual labels:  javascript-library
amazing-javascript-2019
48 Amazing JavaScript Open Source for the Past Year (v.2019)
Stars: ✭ 23 (+91.67%)
Mutual labels:  javascript-library
groucho
Know all your users. Scalable front-end (anon) personalization & attribution
Stars: ✭ 31 (+158.33%)
Mutual labels:  javascript-library
ctxmenu
Tiny and customizable context menu generator
Stars: ✭ 20 (+66.67%)
Mutual labels:  javascript-library
MLweb
Machine learning and scientific computing (linear algebra, statistics, optimization) javascript libraries, with an online lab.
Stars: ✭ 85 (+608.33%)
Mutual labels:  javascript-library
w-components
JavaScript library based on Web Components.
Stars: ✭ 17 (+41.67%)
Mutual labels:  javascript-library

amirajs

Amirajs is Lightweight (~0.4kb compressed) JS Library for DOM Manipulation


MIT License MIT License Open Collective Open Collective


Table of Contents

Usage

You can see the example usage here

Setup

You can import the external script inside the <body>{here}</body> tag.

<!-- imported script -->
<script src="https://unpkg.com/[email protected]/amira.min.js"></script>

NB: Remember to use the amira APIs below the imported script.

APIs

insert

You can insert both value or text in single function.

$(".amira").insert("Hello World");

empty

You can empty both value or text in single function.

$(".amira").empty();

setAttr

You can set elements attribute by using setAttr function.

$(".amira").setAttr("id", "11");

Also supports fluent design

$(".amira").setAttr("id", "11").setAttr("style", "color: red;");

removeAttr

You can remove elements attribute by using removeAttr function.

$(".amira").removeAttr("id");

show

You can show elements by using show function.

$(".amira").show();

hide

You can hide elements by using hide function.

$(".amira").hide();

Contributing

You can create new pull requests here

License

This javascript library is published under MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].