2
角度のmulti-slot transclusionを使用して、transclude: { title: 'custom-title' }
のようなオブジェクトを渡します。 要素ではなく、属性としての角マルチスロット移入
<custom-title>...</custom-title>
を私は、コードの整合性のため、このようにそれを書きたい:
<div custom-title>...</div>
これを達成する方法はありますか?