Giter Club home page Giter Club logo

bstest's Introduction

bsJS

JavaScript lib for DOM, CORE, utility and so on

시작하기

  1. 문서의 아무 곳이나 스크립트태그를 통해 bs를 삽입합니다.

    <script src="http://projectbs.github.io/bsJS/bs/bsjs.js"></script>
    
  2. 삽입한 이 후에는 다음과 같은 형식으로 bs를 사용합니다.

    <script>
    bs( function(){
    	// 여기에 소스
    } );
    </script>
    
  3. 간단히 dom을 생성하고 스타일과 내용, 이벤트 리스너를 일시에 지정해 봅니다.

    <script>
    bs( function(){
    	bs.Dom( '<div></div>' ).S( 
    		'<', 'body', // 부모를 body로
    		'html', '안녕', // html을 넣어준다
    		'width', 300, // 스타일을 지정한다.
    		'click', function( $e ){alert(1);} // 이벤트를 지정한다.
    	);
    } );
    </script>
    

Documents

Wiki

bsJS Wiki

APIs

  • bs core [ko][ja]
  • bs base function [ko][ja]
  • bs Dom [ko][ja]
  • bs Unit Test [ko][ja]
  • Structure of BS [ko][ja]

License

Dual licensed under the MIT or GPL Version 2 licenses.

Contact us

Copyright 2013.10 projectBS committee.

bstest's People

Contributors

tipjs avatar

Watchers

James Cloos avatar devkook avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.