lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Javascript, jQuery 2018‧07‧04

    audio context 볼륨 조절하기

    audio context를 createBufferSource 를 이용해서 재생시킬 때 음원의 소리를 조절하고 싶어 gain 을 쓸 때가 있다. var AudioContext = window.AudioContext || window.webkitAudioContext; var context = new AudioContext(); source = context.createBufferSource(); var gainNode = context.createGain(); gainNode.gain.value = 0.5; //0~1 gainNode.connect(context.destination); source.connect(gainNode); gain.value 에 0부터 1까지 소숫점으로 볼륨을 지정해주면 된다.

popular

  • 워드프레스에서 발송되는 이메일이 제대로 수신 안되는 현상
  • js - 채널톡 삽입(커스텀 버튼, 뱃지 카운트, 서포트봇 양식 연동)
  • props가 변경되어서 state를 업데이트(setState) 할 때
  • Photoshop - 폰트는 폴더를 따로 관리하는 것이 좋다.
  • 카테고리에 따른 사이드바 위젯 다르게 보이기
  • Webpack + React 그리고 SCSS 컴파일해서 CSS 넣기
  • react native - Text 컴포넌트에한 줄 내림 처리 (html의 br 태그 같은 처리)
  • html2canvas 사용시 특정 영역 프린트 제외 시키기
  • `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
  • 안드로이드 스튜디오로 만들 때 타이틀바 없애기

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....