일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- angular
- 이미지바꾸기
- IONIC3
- php
- rxjs
- zsh
- getElementsByClassName
- Git
- NVM
- Sentry
- ChangeDetectorRef
- 변화감지
- change detection
- Visual Studio Code
- hashchange
- border-width
- ion-range
- oh-my-zsh
- code .
- Ionic
- JavaScript
- fromEvent
- sealize
- 자바스크립개념
- 테두리굵기
- VSCode
- aab 배포
- angular5
- error
- typescript
- Today
- Total
목록programming (94)
hsunny study blog
네이티브와의 연동을 위해 사용한 cordova-plugin-device를 추가하고 device.uuid 속성을 이용하여 디바이스를 구분했다.device.uuid : Get the device's Universally Unique Identifier Android에서는 uuid가 고유한 값이라, 앱을 삭제하고 다시 깔아도 유지되지만, iOS에서는 삭제하고 다시 깔면 값이 바뀌는 문제가 있었다. ... iOS에서 uuid는 iOS5부터 사용됐고, 보통 서버와 연동하여 기기를 식별하는데 쓰였다. uuid값이 기기의 고유값은 맞지만 생성할 때마다 값이 바뀌어, 앱을 처음 실행할 때 저장해두고 불러오는 방식으로 쓰인다. 하지만 앱을 삭제할 경우 앱내 저장된 값도 같이 삭제되니 이를 방지하기 위해 기기내 저장소인 ..
textarea에 placeholder를 적용할 수 있다.placeholder 문구를 줄바꿈 하려면, 줄바꾸려는 자리에 ? 를 넣으면 된다. *하지만 모바일에서는 줄바꿈이 적용되지 않는다 ..
Android1. http 프로토콜 사용http://play.google.com/store/apps/details?id={app이름} 2. market scheme 사용market://details?id={app이름} {app이름}에 앱의 패키지명 입력 iOS1. https 프로토콜 사용https://itunes.apple.com/kr/app/apple-store/{app이름} {app이름}은 id~ 형식이다. (위의 예에서는 id393499958, id369302790, id780174422) 참고 블로그 : https://m.blog.naver.com/PostView.nhn?blogId=chumy&logNo=220850047176&proxyReferer=https%3A%2F%2Fwww.google.c..
이미지들이 수직으로 맞지 않을 때이미지 스타일에 vertical-align 속성을 추가해서 조절하기
웹페이지 인쇄시, 페이지 분할하여 인쇄하기 사용하는 css : page-break-after / page-break-beform javascript syntax: object.style.pageBreakAfter="always" age-break-after property는 모든 주요한 브라우저에서 지원된다. Note : Internet Explorer (IE 8 포함)는 property value "left", "right" 또는 "inherit"를 지원하지 않는다. Note : Firefox, Chrome, 그리고 Safari 는 property values "avoid", "left" 또는 "right“를 지원하지 않는다.
해결: config.xml에 추가 참고사이트https://cordova.apache.org/docs/en/latest/config_ref/index.html
Ajax : Asynchronous JavaScript And XML 잘 설명된 블로그http://www.nextree.co.kr/p9521/
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/b0LZsF/btrqvUBaMI4/zCfOP82eaJLamN83xkH9P0/img.png)
cannot read property 'replace' of undefined 원인: 올바른 값을 변수에 담아 가져오지 못한 채 실행어디서: var answer = document.getElementsByName("test").value; 해결getElementsByName은 하나의 name 배열명도 배열로 인식함따라서 값을 변수에 제대로 담기 위해서는 document.getElementsByName("test")[0].value 와 같이 써야한다.