2017年4月22日 星期六

JS30

D15
localStorage

D14
    array reference, not an array copy when use 
    const players = ['Wes', 'Sarah', 'Ryan', 'Poppy'];

    // and we want to make a copy of it.
    const team = players;

JSON-is-not-Javascript-Object
http://www.fizerkhan.com/blog/posts/JSON-is-not-Javascript-Object.html

D13
滾動超過圖片一半會跑出來

D12
addEventListener的運用('keyup',(e) =>{})

D11
這句話讓我見識到chrome的強大
webkitEnterFullScreen();

D10
with shift key

D9
console.* 教學

D8
console.xxx教學

D7
canvas 畫板,很酷

D6
Ajax search
.fetch

D5
漂亮的夾頁

D4
javascript function練習

D3
圖片CSS漸變

D2
css
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: all 0.05s;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);


    const seconds = now.getSeconds();
    const secondsDegrees = ((seconds / 60) * 360 + 90);
    secondsHand.style.transform = `rotate(${secondsDegrees}deg)`;

Methods   setInterval

D1
Nodelist
http://www.w3school.com.cn/xmldom/dom_nodelist.asp

keys.forEach(key => key.addEventListener('transitionend', removeTransition));

沒有留言:

張貼留言