Skip to content

pantoken-root / plugins/pantoken/layouts/src / PageLayoutImagePlaceholder

इंटरफेस: PageLayoutImagePlaceholder ​

बीटा

एक provider-neutral इमेज स्लॉट जिसे एक starter पेज लेआउट द्वारा घोषित किया गया है।

प्रॉपर्टीज ​

key ​

key: string

बीटा

Stable key जो data-pantoken-image-placeholder HTML मार्कर से मेल खाती है।


width ​

width: number

बीटा

पिक्सल में सुझाई गई आंतरिक चौड़ाई।


height ​

height: number

बीटा

पिक्सल में सुझाई गई आंतरिक ऊँचाई।


altText? ​

optional altText?: string

बीटा

सुलभ नाम; सजावटी छवि के लिए इसे छोड़ दें।


text? ​

optional text?: string

बीटा

वैकल्पिक टेक्स्ट जिसे उपभोक्ता अपने placeholder संपत्ति में रेंडर कर सकता है।