한글이나 특수문자의 2way binding referencehttps://github.com/angular/angular.js/issues/6656http://118k.tistory.com/135 IE11에서 한글 2 way binding 안됨.input에서 한글 입력해도 keyword ng-model이 제대로 변하지 않음 composed character인 한글, 일본어, 한자는 composition event를 발생시킨다.compositionstartcompositionupdatecompositionend가 있는데 input 에서 blur나 focuseout 할 때 위에서 compositionend가 먹질 않음. 아래와 같이 krInput이라는 디렉티브를 만들어주고 function krInput() { 'ngInject'; return { p.. 더보기 디렉티브의 scope referencehttps://github.com/angular/angular.js/wiki/Understanding-Scopeshttps://docs.angularjs.org/api/ng/directive/ngIfhttp://stackoverflow.com/questions/18342917/angularjs-ng-model-doesnt-work-inside-ng-if ng-if와 같은 디렉티브는 own scope를 새로 만든다. 아래 코드에서 memoInpuType과 memo의 scope은 같지 않아서$scope.memo로 접근 불가능. {{okBtnText}} 아래와 같이 $parent로 접근하여 controller에서 제어할 수 있다. {{okBtnText}} The scope created wit.. 더보기 WebGL 기초 출처 https://webglfundamentals.org/webgl/lessons/webgl-fundamentals.html WebGL Fundamentals webgl은 3D API라고 생각들 하고 3d로 멋진걸 만들어보겠다고 하는데 WebGL은 그냥 rasterization 엔진일뿐이다. rasterize는 벡터를 픽셀로 표현하다. 라는 동사임 내가 짠 코드로 점찍고, 줄 긋고 다각형을 그린다. 점, 선, 다각형으로 내가 어떻게 코딩하느냐에 따라 WebGL로 무엇을 만들 수 있는지 결정된다. WebGL은 내 컴퓨터 GPU위에서 돌아간다.vertex shader 와 fragment shader라고 불리는 함수를 GLSL라고 불리는 굉장히. 엄격한. C/C++ 타입의 언어로 작성하게 된다. vertex.. 더보기 [AWS] elastic ip 인스턴스 stop, reboot 등 할 때 매번 ip가 변경되므로 elastic ip 생성. elastic ip 생성 후 꼭 인스턴스와 연결.생성 후 연결하지 않으면 과금. 더보기 [리눅스] 심볼릭 링크 설정/해제 ln -s 원본 심볼릭 sudo rm 심볼릭이름 더보기 이전 1 ··· 3 4 5 6 7 8 9 ··· 33 다음