完了

Javascript Library

jassn403¥240 CNYのためにこのプロジェクトを2日で完了しました

このようなプロジェクトの無料見積もりを取得
作業中の採用者
プロジェクト予算
¥80 - ¥240 CNY
完了にかかった期間
2 日
入札合計
10
プロジェクト情報

I need to have a javascript library to select DOM elements. The library should be very very minimal and basic and there are several demands.I dont care about compatiblity with old browsers so only new functionalities should be used. Most important is that the library can be chained jquery style (BUT I DONT WANT A COPY OF JQUERY!!)

Key features I want in the library:

- DOM selection, the DOM elements must be selected with querySelector... (NOT with getelementby...)

- hide method, similar to jquery syntax ""$('p').hide();"

- click event method

- Chaining, jquery style

- working in latest versions of Chrome, Firefox, etc.

Here some code examples of thing i want to have:

$('p'); // gets all paragraph elements in the page

$('p').hide(); // hides all paragraph elements in the page

$('p').click().hide(); // hides the SINGLE paragraph element that has been clicked on

$('p').click(function(){

$(this).... // THIS will have the element clicked on

});

Final note: The library doesnt have to be called with $, it could be any Letter or Character, but I would like to be able to change this is need, so commented code is prefererred..

以下の方によって完了済み:

お金を稼ぎたいと思っていますか?

  • 予算と期限を設定してください
  • 提案のアウトラインを作成してください
  • 仕事の報酬を受け取りましょう

このプロジェクトにも入札したフリーランサーを採用する

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online