Class Navigation
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নেভিগেশন একটি সহায়ক বস্তু যা কার্ড নেভিগেশন নিয়ন্ত্রণ করে। আরও বিস্তারিত জানার জন্য কার্ড নেভিগেশন গাইড দেখুন।
বিস্তারিত ডকুমেন্টেশন
pop Card()
নেভিগেশন স্ট্যাক থেকে একটি কার্ড পপ. অন্যান্য কার্ড নেভিগেশন কর্মের সাথে চেইন করা যেতে পারে.
প্রত্যাবর্তন
Navigation
- এই বস্তু, চেইনিং জন্য.
pop To Named Card(cardName)
নির্দিষ্ট কার্ডে তার কার্ডের নাম দিয়ে পপ করে। অন্যান্য কার্ড নেভিগেশন কর্মের সাথে চেইন করা যেতে পারে.
পরামিতি
নাম | টাইপ | বর্ণনা |
---|
card Name | String | নেভিগেট করার জন্য কার্ডের নাম। |
প্রত্যাবর্তন
Navigation
- এই বস্তু, চেইনিং জন্য.
pop To Root()
কার্ড স্ট্যাকটি রুট কার্ডে পপ করে। অন্যান্য কার্ড নেভিগেশন কর্মের সাথে চেইন করা যেতে পারে.
প্রত্যাবর্তন
Navigation
- এই বস্তু, চেইনিং জন্য.
print Json()
এই বস্তুর JSON উপস্থাপনা প্রিন্ট করে। এটি শুধুমাত্র ডিবাগ করার জন্য।
প্রত্যাবর্তন
String
push Card(card)
প্রদত্ত কার্ডটিকে স্ট্যাকের উপর ঠেলে দেয়। অন্যান্য কার্ড নেভিগেশন কর্মের সাথে চেইন করা যেতে পারে.
পরামিতি
নাম | টাইপ | বর্ণনা |
---|
card | Card | স্ট্যাকে যোগ করার জন্য একটি কার্ড। |
প্রত্যাবর্তন
Navigation
- এই বস্তু, চেইনিং জন্য.
update Card(card)
বর্তমান কার্ডের একটি ইন-প্লেস প্রতিস্থাপন করে। অন্যান্য কার্ড নেভিগেশন কর্মের সাথে চেইন করা যেতে পারে.
পরামিতি
নাম | টাইপ | বর্ণনা |
---|
card | Card | বর্তমান কার্ড প্রতিস্থাপন করার জন্য একটি কার্ড। |
প্রত্যাবর্তন
Navigation
- এই বস্তু, চেইনিং জন্য.
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Navigation object facilitates card navigation within Google Workspace add-ons, allowing developers to control the flow and presentation of user interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt offers methods like \u003ccode\u003epushCard()\u003c/code\u003e, \u003ccode\u003epopCard()\u003c/code\u003e, and \u003ccode\u003eupdateCard()\u003c/code\u003e to manage the card stack, enabling dynamic and interactive user experiences.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003epopToNamedCard()\u003c/code\u003e or \u003ccode\u003epopToRoot()\u003c/code\u003e for direct navigation to specific cards within the stack, enhancing user control and flexibility.\u003c/p\u003e\n"],["\u003cp\u003eAll navigation methods are chainable, providing a streamlined and efficient way to sequence multiple actions and create complex navigation flows within the add-on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eprintJson()\u003c/code\u003e method aids debugging by outputting the object's JSON representation, allowing developers to inspect its structure and state.\u003c/p\u003e\n"]]],[],null,["# Class Navigation\n\nNavigation\n\nA helper object that controls card navigation. See the [card navigation guide](/gmail/add-ons/how-tos/navigation) for more details. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------------------------------|-----------------|---------------------------------------------------|\n| [popCard()](#popCard()) | [Navigation](#) | Pops a card from the navigation stack. |\n| [popToNamedCard(cardName)](#popToNamedCard(String)) | [Navigation](#) | Pops to the specified card by its card name. |\n| [popToRoot()](#popToRoot()) | [Navigation](#) | Pops the card stack to the root card. |\n| [printJson()](#printJson()) | `String` | Prints the JSON representation of this object. |\n| [pushCard(card)](#pushCard(Card)) | [Navigation](#) | Pushes the given card onto the stack. |\n| [updateCard(card)](#updateCard(Card)) | [Navigation](#) | Does an in-place replacement of the current card. |\n\nDetailed documentation\n----------------------\n\n### `pop``Card()`\n\nPops a card from the navigation stack. Can be chained with other card navigation actions.\n\n#### Return\n\n\n[Navigation](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n### `pop``To``Named``Card(cardName)`\n\nPops to the specified card by its card name. Can be chained with other card navigation actions.\n\n#### Parameters\n\n| Name | Type | Description |\n|--------------|----------|--------------------------------------|\n| `card``Name` | `String` | The name of the card to navigate to. |\n\n#### Return\n\n\n[Navigation](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n### `pop``To``Root()`\n\nPops the card stack to the root card. Can be chained with other card navigation actions.\n\n#### Return\n\n\n[Navigation](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n### `print``Json()`\n\nPrints the JSON representation of this object. This is for debugging only.\n\n#### Return\n\n\n`String`\n\n*** ** * ** ***\n\n### `push``Card(card)`\n\nPushes the given card onto the stack. Can be chained with other card navigation actions.\n\n#### Parameters\n\n| Name | Type | Description |\n|--------|--------------------------------------------------|-----------------------------|\n| `card` | [Card](/apps-script/reference/card-service/card) | A card to add to the stack. |\n\n#### Return\n\n\n[Navigation](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n### `update``Card(card)`\n\nDoes an in-place replacement of the current card. Can be chained with other card navigation\nactions.\n\n#### Parameters\n\n| Name | Type | Description |\n|--------|--------------------------------------------------|------------------------------------------|\n| `card` | [Card](/apps-script/reference/card-service/card) | A card to replace the current card with. |\n\n#### Return\n\n\n[Navigation](#) --- This object, for chaining."]]