跳至内容

燕鸥博客

  • 下一页 30秒学会 C# 片段 – Capitalize
  • 上一页 30秒学会 C# 片段 – MostFrequent
  • 首页
  • 燕鸥监控
  • 30秒学会代码片段
    • 30秒学会 Angular 片段
    • 30秒学会 C# 片段
    • 30秒学会 CSS 片段
    • 30秒学会 Dart 片段
    • 30秒学会 Golang 片段
    • 30秒学会 JavaScript 片段
    • 30秒学会 PHP 片段
    • 30秒学会 Python 片段
    • 30秒学会 React 片段
    • 30秒面试问题
    • 30秒看不完系列
  • CSS技巧
  • 关于我们

标签

algorithm Angular animation array browser C# class collection components CSS Dart date dictionary effect event function generator Golang hooks input interactivity JavaScript lambda layout list math node object PHP promise Python random React recursion regexp state string tips type utility visual 代码片段 入门 进阶 高级

    30秒学会 Angular 片段 · 2018年7月28日

    30秒学会 Angular 片段 – SVG templates

    It is possible to use .svg file as a component template:

    @Component({
      templateUrl: 'app.svg'
    })

    翻译自:https://www.30secondsofcode.org/angular/s/svg-templates

    标签: Angularsvgtips代码片段

    您可能还喜欢...

    • 30秒学会 JavaScript 片段 – Remove attributes from an HTML element with JavaScript

      30秒学会 JavaScript 片段 – Remove attributes from an HTML element with JavaScript

    • 30秒学会 JavaScript 片段 – Split a JavaScript array into chunks

      30秒学会 JavaScript 片段 – Split a JavaScript array into chunks

    • 30秒学会 JavaScript 片段 – How to swap two variables in JavaScript

      30秒学会 JavaScript 片段 – How to swap two variables in JavaScript

    燕鸥博客 © 2026. 版权所有。

    自豪地采用 WordPress. 主题设计 Alx.