收藏 / 列表

兔子先森 - PC瀏覽器端-MP3錄音+實時幀回調+流式上傳-Recorderjs

看到這裏的時候一定要理解並運行上文的《前端recorder-core實時錄音並繪製波形,blob常規數據格式》,這樣對Recorder有個概念。 在創建錄音對象的時候有一個takeoffEncodeChunk回調,該回調為實時編碼環境,會接管編碼器輸出。 當編碼器實時編碼出一塊有效的二進制音頻數據時實時回調此方法,也就是説每次獲取到有效的二進制音頻數據takeoffEncodeChun

react , vue.js , HTML , 前端 , Javascript

水冗水孚 - express中使用node-xlsx插件下載excel表格

node-xlsx是一個輕量級的excel插件,下載導出excel基本的功能這個插件都能實現,本文記錄一下express框架中使用node-xlsx插件下載excel表格的步驟。 情況一、讀取本地文件並返回前端excel流文件 這種情況適用於下載excel模板場景,畢竟模板是固定的內容,我們在代碼的文件夾中存放一個固定的excel模板,讀取並返回即可。 第一步,肯定是要下載安裝這個插件npm

express , nodejs-express

Michelle Barker - Optimizing A Vue App

Single Page Applications (SPAs) can provide a rich, interactive user experience when dealing with real-time, dynamic data. But they can also be heavy, bloated, and perform poorly. In this article, w

Tools , Vue , Apps , Javascript

最多選5個技能 - PyCharm生產力提升終極指南:從高效快捷鍵到團隊協作

PyCharm生產力提升終極指南:從高效快捷鍵到團隊協作 1. 鍵盤驅動開發:核心快捷鍵精通 1.1 代碼導航快捷鍵 # 示例:使用快捷鍵導航代碼 class DataProcessor: def __init__(self, config): # Ctrl+B跳轉到定義 self.config = config

快捷鍵 , 自定義 , 自動生成 , Css , 前端開發 , HTML

Preethi Sam - The Times You Need A Custom @property Instead Of A CSS Variable

We generally use a CSS variable as a placeholder for some value we plan to reuse — to avoid repeating the same value and to easily update that value across the board if it needs to be updated. :roo

animation , Css , Design

Inayaili de Leon - CSS Specificity And Inheritance

CSS’ barrier to entry is extremely low, mainly due to the nature of its syntax. Being clear and easy to understand, the syntax makes sense even to the inexperienced Web designer. It’s so simple, in

coding , Css , Essentials

Chris Coyier - [Ask SM: CSS] Equal Spacing, CSS Font Replacement

This is our fourth installment of Ask SM, featuring reader questions about Web design, focusing on HTML, CSS, and JavaScript. In this post we’ll cover how you can distribute the horizontal space bet

coding , Css

子丶不語 - Vue3 組件通信:8種方式,徹底告別組件傳值煩惱!

在Vue應用開發中,組件化開發讓我們能夠構建可複用、易維護的代碼。但隨之而來的就是組件之間如何高效通信的問題。無論是父子組件、兄弟組件,還是跨級組件,都需要合適的通信方式。 1. Props / Emits - 最基礎的父子通信 Props 向下傳遞,Emits 向上傳遞,這是Vue組件通信的基石。 Props 父傳子 !-- 父組件 -- te

vue.js , 數據 , 複用 , 前端開發 , ide

葡萄城技術團隊 - Angular V20 新特性

引言 Angular 框架在經歷了過去幾年的重大變革後,於2025年5月正式發佈了v20版本。這一版本標誌着Angular在響應式編程、無Zone.js應用、服務器端渲染等多個關鍵領域取得了突破性進展。本文將全面解析Angular v20的核心新特性,包括API穩定化、開發者體驗優化、性能提升工具等,幫助開發者掌握最新技術動態並應用於實際項目開發。 正文 一、響應式特性全面穩定 Angular S

angularjs

南玖 - 亞像素渲染:瀏覽器如何處理小數像素的渲染?

前言 最近遇到一個這樣的問題,在一些機型上的loading轉圈動畫看起來有點抖,轉起來像個橢圓,心想會不會是這個icon寬高不同造成的,但看了一眼代碼裏面寬高寫的是一樣,按理來説這個loading應該是一個正圓,旋轉起來不應該抖才是的。 比如這樣: div class="w-20px h-20px border-rd-50% loading"/div 寬高相等的一個正圓,旋轉起來看着怪怪的。事實

渲染 , 瀏覽器 , 像素 , 前端 , Javascript