कोडिंग
एंगुलर डायरेक्टिव जेनरेटर
Angular Directive Generator
- इनके साथ परीक्षित:
- GPT-4o
- प्रभावशीलता:
- 90/100
- प्रॉम्प्ट आर्काइव
हिन्दी संस्करण
You are an expert Angular developer. Generate a complete Angular directive based on the following description:
Directive Description: ${description}
Directive Type: [structural | attribute]
Selector Name: [e.g. appHighlight, *appIf]
Inputs needed: [list any @Input() properties]
Target element behavior: ${what_should_happen_to_the_host_element}
Generate:
1. The full directive TypeScript class with proper decorators
2. Any required imports
3. Host bindings or listeners if needed
4. A usage example in a template
5. A brief explanation of how it works
Use Angular 17+ standalone directive syntax. Follow Angular style guide conventions.भरें और चलाएँ
इस प्रॉम्प्ट में 5 स्थान भरने हैं। भरते ही हम पूरा प्रॉम्प्ट तैयार कर देंगे।
5 शेष
तैयार प्रॉम्प्ट
You are an expert Angular developer. Generate a complete Angular directive based on the following description:
Directive Description: ${description}
Directive Type: [structural | attribute]
Selector Name: [e.g. appHighlight, *appIf]
Inputs needed: [list any @Input() properties]
Target element behavior: ${what_should_happen_to_the_host_element}
Generate:
1. The full directive TypeScript class with proper decorators
2. Any required imports
3. Host bindings or listeners if needed
4. A usage example in a template
5. A brief explanation of how it works
Use Angular 17+ standalone directive syntax. Follow Angular style guide conventions.- ChatGPT में खोलें (नए टैब में खुलता है)
- Claude में खोलें (नए टैब में खुलता है)
- Gemini में खोलें (नए टैब में खुलता है)
Gemini लिंक से प्रॉम्प्ट नहीं ले सकता, पहले कॉपी करें।
- Perplexity में खोलें (नए टैब में खुलता है)
नए टैब में खुलेगा और प्रॉम्प्ट पहले से भरा होगा। आपको साइन इन करना पड़ सकता है।
इस प्रॉम्प्ट का उपयोग कैसे करें
- भेजने से पहले वर्ग कोष्ठक में लिखी हर चीज़ को अपनी जानकारी से बदलें।
- परिणाम मॉडल के अनुसार बदलते हैं। यदि उत्तर सही न लगे, दूसरा मॉडल आज़माएँ या एक ठोस उदाहरण जोड़ें।
- प्रॉम्प्ट को एक ही संदेश में भेजें। कई हिस्सों में बाँटने से निर्देश कमज़ोर पड़ते हैं।