Home Daily Programming HTML Knowledge What is Mip's inline frame component?

What is Mip's inline frame component?

Nov 03, 2018 pm 04:24 PM

This article mainly introduces the inline frame components in MIP.

MIP's inline frame component is a built-in component of MIP, and built-in component is a component included in mip.js, which can be used directly. An additional JS script needs to be introduced.

The tag of the inline frame component in MIP is .

Recommended reference is the mip user manual: "MIP Documentation Manual"

I believe everyone knows the iframe tag in HTML, that is, the iframe element will create another document that contains it. Inline frames (i.e. inline frames).

Then mip-iframe is a way to support embedding third-party content in MIP.

But it should be noted that the embedded content must comply with the HTTPS protocol.

A simple example of mip-iframe is as follows:

<mip-iframe
    layout="fixed-height" 
    src="https://www.php.cn" 
    allowfullscreen    width="400"
    height="300"
    allowtransparency="true">
</mip-iframe>
Copy after login

The effect is as shown:

What is Mips inline frame component?

When we drag the scroll bar, it will only affect the inner content in the frame. In fact, the usage is basically the same as that of ordinary iframe tags. Possible values ​​in the

mip-iframe tag are:

width and height attributes represent images set in conjunction with the height and width attributes respectively. Proportions, not actual width and height.

frameborder indicates whether to display the border around the frame.

srcdoc represents the HTML content that specifies the page displayed in the inline frame component.

sandbox indicates enabling a series of additional restrictions on content.

allowtransparencyThe property is set to "true" to indicate that the floating frame defines transparent content.

This article is a detailed introduction to the inline components in MIP. It is also very simple and easy to understand. I hope it will be helpful to friends in need!

The above is the detailed content of What is Mip's inline frame component?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1655
14
PHP Tutorial
1254
29
C# Tutorial
1228
24