aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/text/assignedslot/index.md
blob: a8dd6e8c70c21cfbc5851487df307b99aff7965d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Text.assignedSlot
slug: Web/API/Text/assignedSlot
tags:
  - プロパティ
  - リファレンス
  - 読み取り専用
browser-compat: api.Text.assignedSlot
---
{{APIRef("DOM")}}

**`assignedSlot`** は {{domxref("Text")}} インターフェイスの読み取り専用プロパティで、要素に関連付けられた {{domxref("HTMLSlotElement")}} オブジェクトを返します。

## 値

{{domxref("HTMLSlotElement")}}、またはテキストノードに関連付けられている {{HTMLElement("slot")}} 要素がない場合は `null`## 仕様書

{{Specifications}}

## ブラウザーの互換性

{{Compat}}