Skip to main content
Version: v7 (beta)

ion-backdrop

shadow

Backdropは、他のコンポーネントをオーバーレイするためフルスクリーンのコンポーネントです。これらは、他のコンテンツの上に遷移するコンポーネントのバックグラウンドで役立ち、そのコンポーネントを削除するために使用できます。

Basic Usage

The backdrop is transparent by default. The backdrop will prevent clicking or tapping on the content behind it.

Styling

The backdrop can be customized by assigning CSS properties directly to the backdrop element. Common properties include background-color, background and opacity.

Content can be displayed above the backdrop by setting a z-index on the content, higher than the backdrop (defaults to 2).

プロパティ

stopPropagation

DescriptionIf true, the backdrop will stop propagation on tap.
Attributestop-propagation
Typeboolean
Defaulttrue

tappable

DescriptionIf true, the backdrop will can be clicked and will emit the ionBackdropTap event.
Attributetappable
Typeboolean
Defaulttrue

visible

DescriptionIf true, the backdrop will be visible.
Attributevisible
Typeboolean
Defaulttrue

イベント

NameDescription
ionBackdropTapEmitted when the backdrop is tapped.

メソッド

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSSカスタムプロパティ

No CSS custom properties available for this component.

Slots

No slots available for this component.