Skip to content

chore(zh-CN): translation of Web/API/Intersection_Observer_API#34905

Open
Totoro-jam wants to merge 1 commit intomdn:mainfrom
Totoro-jam:update-intersection-observer-api-zh-cn
Open

chore(zh-CN): translation of Web/API/Intersection_Observer_API#34905
Totoro-jam wants to merge 1 commit intomdn:mainfrom
Totoro-jam:update-intersection-observer-api-zh-cn

Conversation

@Totoro-jam
Copy link
Copy Markdown
Contributor

Description

同步更新 Intersection Observer API 的中文翻译,包含以下内容:

  • 更新 l10n.sourceCommit 元数据
  • 新增 ## 概述 章节,重组文档结构
  • 新增参数:scrollMargindelaytrackVisibility
  • 更新 rootMargin 描述,说明负值效果
  • 代码现代化:letconst
  • 调整章节标题

Motivation

英文原文新增了重要参数(scrollMargin、delay、trackVisibility),这些功能对开发者使用交叉观察器 API 非常重要,需要同步翻译以便中文读者了解这些新特性。

Additional details

Related issues and pull requests

N/A

@Totoro-jam Totoro-jam requested a review from a team as a code owner April 2, 2026 03:34
@Totoro-jam Totoro-jam requested review from irvin and removed request for a team April 2, 2026 03:34
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Apr 2, 2026
@Totoro-jam Totoro-jam force-pushed the update-intersection-observer-api-zh-cn branch 6 times, most recently from 7db21a4 to a42c756 Compare April 2, 2026 06:28
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Preview URLs (1 page)

External URLs (1)

URL: /zh-CN/docs/Web/API/Intersection_Observer_API
Title: 交叉观察器 API

(comment last updated: 2026-04-09 05:02:16)

@Totoro-jam Totoro-jam force-pushed the update-intersection-observer-api-zh-cn branch from a42c756 to 1f10155 Compare April 3, 2026 06:02
@Totoro-jam Totoro-jam force-pushed the update-intersection-observer-api-zh-cn branch from 1f10155 to 3f15ccc Compare April 3, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

l10n-zh Issues related to Chinese content.

Projects

Status: Review requested

Development

Successfully merging this pull request may close these issues.

1 participant