当前位置:网站首页>BOM overview
BOM overview
2022-07-25 07:09:00 【Hugging spinner】
One . What is? BOM
BOM( Browser Object Model) Browser object model , It provides objects that interact with browser windows independently of content , Its core object is window.
BOM It consists of a series of related objects , And each object provides many methods and properties .
BOM Lack of standards ,JavaScript The standard organization of grammar is ECMA,DOM Our standardization organization is W3C,BOM Initially Netscape Part of the browser standard .
Two .BOM and DOM The difference between
DOM
Document object model
DOM Is to put 「 file 」 As a 「 object 」 To look at
DOM The top-level object of is document
DOM The main learning is to operate the page elements ·
DOM yes W3C Standard specification
BOM
Browser object model
hold 「 browser 」 As a 「 object 」 To look at
BOM The top-level object of is window
BOM Learn some objects that interact with the browser window
BOM It is defined by browser manufacturers on their respective browsers , Poor compatibility
3、 ... and .BOM The composition of the
BOM Than DOM Bigger ,BOM contain DOM

window Object is the top-level object of the browser , It has a dual role .
1. It is JS An interface for accessing browser windows .
2, It's a global object . Variables defined in the global scope 、 Functions will become window Properties and methods of objects .
You can omit... When calling window, The previous dialog boxes belong to window Object methods , Such as alert)、prompt() etc. .
Be careful :window One of the special properties of the following window.name

边栏推荐
- EFCore高级Saas系统下单DbContext如何支持不同数据库的迁移
- "Wei Lai Cup" 2022 Niuke summer multi school training camp 1 supplementary problem solution (incomplete)
- Ant design input search box listens for allowclear event separately
- 常吃发酵馒头是否会伤害身体
- Expandablelistview nested GridView display incomplete problem
- Flinkcdc2.0 uses flinksql to collect MySQL
- 章鱼网络 Community Call #1|开启 Octopus DAO 构建
- leetcode刷题:动态规划06(整数拆分)
- 【愚公系列】2022年7月 Go教学课程 016-运算符之逻辑运算符和其他运算符
- 微生物健康,不要排斥人体内微生物
猜你喜欢

Create a new STM32 project and configure it - based on registers

CTF Crypto---RSA KCS1_ Oaep mode

2022天工杯CTF---crypto1 wp

vulnhub CyberSploit: 1

Recycleview realizes horizontal sliding of overlapping items

微信小程序switchTab传参以及接收参数

Devops has been practiced for many years. What is the most painful thing?

【terminal】x86 Native Tools Command Prompt for VS 2017
![[computer explanation] NVIDIA released geforce RTX Super Series graphics cards, and the benefits of game players are coming!](/img/11/24f92b4362026ec2c01492d195560b.png)
[computer explanation] NVIDIA released geforce RTX Super Series graphics cards, and the benefits of game players are coming!

《游戏机图鉴》:一份献给游戏玩家的回忆录
随机推荐
Robot engineering - teaching quality - how to judge
Leetcode sword finger offer brush question notes
BOM概述
QT6 with vs Code: compiling source code and basic configuration
JS array = number assignment changes by one, causing the problem of changing the original array
CodeForces 1417B Two Arrays
CEPH in hand, I have!
如何学习 C 语言?
Argocd user management, RBAC control, script login, APP synchronization
各位老板 问一下 就是我们mysql cdc保存的是配置数据 然后kafka里面堆积的有历史
Example demonstration of math.random() random function
Upload and download multiple files using web APIs
Octopus network community call 1 starts Octopus Dao construction
分层强化学习综述:Hierarchical reinforcement learning: A comprehensive survey
Can interface debugging still play like this?
error: redefinition of
LeetCode118. 杨辉三角
JS data type judgment - Case 6 delicate and elegant judgment of data type
CTF Crypto---RSA KCS1_OAEP模式
第一启富金怎么样