lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Angularjs 2016‧09‧08

    스코프 데이터 html로 바인딩하기

    예를 들어 $scope.text1 = '<h3>제목</h3>';라고 있고 dom에서 {{text1}} 하면 바로 <h3>제목</h3>가 노출된다.이를 html로 적용시키려면 아래와 같이 만들어야한다. 방법 1. 헤더에서 angular-sanitize 를 불러와준다.  <script src="/angular-1.5.8/angular-sanitize.min.js"></script>  모듈에 ngSaitize를 넣어준다. var app = angular.module('모듈이름',['ngRoute','ngAnimate','ngSanitize'], function($httpProvider){ });  이제 준비가 되었다. dom에는 아래와 같이 넣어준다. <p ng-bind-html="text1"></p> 그럼 제대로 데이터가 html로 바인딩 된 것을 확인할 수 있다. 방법 2. […]

popular

  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 자바스크립트 새창 뛰우기 옵션과 방법
  • Photoshop - [폰트 캐쉬 삭제] 삭제한 폰트도 계속 리스트에 존재할 때
  • 구글 맵 - 일정 범위 다중 마커 합산한 Cluster(클러스터) 기능
  • CTO로 선임된 지 2년 6개월
  • 키보드 키 코드
  • github로 무료 웹호스팅, 미디어 호스팅 이용하기(for 디자이너)
  • 배열의 마지막 값 가져오기
  • Auto Scaling + codedeploy 배포 오류 - The IAM role arn:aws: does not give you permission to perform operations in the following AWS service: AmazonAutoScaling. Contact your AWS administrator if you need help. If you are an AWS administrator, you can grant permissions to your users or groups by creating IAM policies.
  • ReactJs - .propTypes, .defaultprops

comment

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