Advertise Your Business With Us At Cheap Price, Call Or WhatsApp +2349021020979


[-]
Tags
to intro an js the v 1 prof library

Hi Guest, kindly Login Or Register To Unlock More Advanced Features In Wapforum


An Intro To The Prof.js V.1 Library
(6k )
#1
Hello guys, I just wanna introduce the newly updated library by Tcigroup Nigeria: PROF.JS
Actually Prof.JS isn't new but to NCT it is Big Grin. PROF.JS actually stands for Professor Builder JavaScript library Big Grin

Installation Wrote:To install use the following lines of code
Code:
<script src="http://forumfiles.wap.sh/files/profjs/1.4.6/prof.js"></script>
<script>
Prof.init();
</script>

And you're all done Big Grin
What Can I do With PROF.JS
1. Hello World! Program
Though PROF.JS isnt a programming language it however enhances JavaScript Big Grin
Code:
Prof.say('Hi');
PROF.JS simply allows you to write into a doc

2. PROF.JS Modules
With PROF.JS it's much easier to save functions and even other libraries for future use without them running...
Code:
Prof.install('jquery',{version:1.9.1});

3. Selecting HTML Elements
Code:
/*
Prof.doc accept two parameters the selector in css form and a boolean default is false which means select with Prof standards 'html,text,style,title,event,attr' or true which is JS standard
*/
Prof.blank = Prof.doc('body',true);
Prof.say(Prof.blank.innerHTML);
Prof.say(Prof.doc('body').html());
4. Styling An HTML Element
Code:
Prof.doc('body').style('background: #112233;');

5. Looping An array
Code:
Prof.loop(function(o){
Prof.say(arr[o]);
},arr.length);


Website: http://tcigroup.com.ng/projects/profjs
Github: https://github.com/Tcigroup/profjs
**There are much more you can do but seeing that the site is under way please feel free to ask questions**

@flexible,@Hackinubee,@Dynamo,@Spruce

Hackinubee likes this post

#2
wow


#3
Big Grin


ihostright

Share This Post To The World






Users browsing this thread: 1 Guest(s)
Goto First Post In This Thread






Advertisement
ihostright