এএমপি ওয়ান ট্যাপ কম্পোনেন্ট বাতিল করা হয়েছে। এর মানে হল যে নতুন ওয়েব অ্যাপের এই উপাদানটি ব্যবহার করা উচিত নয় এবং বিদ্যমান অ্যাপগুলির বিকাশকারীদের তাদের ওয়েবসাইটগুলিতে ব্যবহারকারীর সাইন-ইন করার জন্য নেতিবাচক প্রভাব এড়াতে প্রয়োজনীয় পরিবর্তন করতে
মাইগ্রেশন গাইড অনুসরণ করা উচিত।
এএমপি কম্পোনেন্ট এপিআই রেফারেন্স
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
এই রেফারেন্স পৃষ্ঠাটি <amp-onetap-google>
AMP উপাদানের API বর্ণনা করে।
ইন্টারমিডিয়েট আইফ্রেমগুলি কীভাবে ব্যবহার করবেন তা শিখতে একটি আইফ্রেম গাইড ব্যবহার করে ইন্টিগ্রেট ওয়ান ট্যাপ দেখুন।
<amp-onetap-google>
AMP কম্পোনেন্ট লোড করুন
নিম্নলিখিত কোড স্নিপেটটি যেকোন এএমপি পৃষ্ঠাগুলিতে রাখুন যেখানে আপনি <amp-onetap-google>
এএমপি উপাদান ব্যবহার করতে চান:
<script custom-element="amp-onetap-google" src="https://cdn.ampproject.org/v0/amp-onetap-google-0.1.js" async></script>
<amp-onetap-google>
এএমপি উপাদান
নিম্নলিখিত সারণীতে তাদের বিবরণ সহ ডেটা বৈশিষ্ট্যগুলি তালিকাভুক্ত করা হয়েছে:
বৈশিষ্ট্য |
---|
data-src | আপনার ওয়ান ট্যাপ ইন্টারমিডিয়েট আইফ্রেমের URI |
layout | এএমপি কম্পোনেন্টের লেআউট। শুধুমাত্র "নোডিসপ্লে" অনুমোদিত। |
data-src
এই বৈশিষ্ট্যটি হল আপনার One Tap মধ্যবর্তী আইফ্রেমের URI। আরও তথ্যের জন্য নিম্নলিখিত টেবিল দেখুন:
টাইপ | প্রয়োজন | উদাহরণ |
---|
স্ট্রিং | হ্যাঁ | data-src="https://example.com/onetap_iframe.html" |
বিন্যাস
এই অ্যাট্রিবিউট হল এএমপি কম্পোনেন্টের লেআউট, যেটি এএমপি কম্পোনেন্টের একটি প্রয়োজনীয় অ্যাট্রিবিউট। <amp-onetap-google>
উপাদানের জন্য, শুধুমাত্র "nodisplay" অনুমোদিত। আরও তথ্যের জন্য নিম্নলিখিত টেবিল দেখুন:
টাইপ | প্রয়োজন | উদাহরণ |
---|
স্ট্রিং | হ্যাঁ | layout="nondisplay" |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-08 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis reference page describes the API of the \u003ccode\u003e<amp-onetap-google>\u003c/code\u003e AMP component, which enables One Tap sign-up/sign-in on AMP pages.\u003c/p\u003e\n"],["\u003cp\u003eTo use this component, you need to place a specific script tag into your AMP pages and configure the component with \u003ccode\u003edata-src\u003c/code\u003e and \u003ccode\u003elayout\u003c/code\u003e attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edata-src\u003c/code\u003e attribute specifies the URI of your One Tap intermediate iframe, while the \u003ccode\u003elayout\u003c/code\u003e attribute must be set to "nodisplay".\u003c/p\u003e\n"],["\u003cp\u003eRefer to the "Integrate One Tap using an Iframe" guide to learn how to use intermediate iframes for this implementation.\u003c/p\u003e\n"]]],[],null,["# AMP Component API reference\n\nThis reference page describes the API of the `\u003camp-onetap-google\u003e` AMP\ncomponent.\n\nSee the [Integrate One Tap using an Iframe](/identity/gsi/web/amp/intermediate-iframe) guide to learn how to use\nintermediate iframes.\n\nLoad the `\u003camp-onetap-google\u003e` AMP Component\n--------------------------------------------\n\nPlace the following code snippet into any AMP pages where you want to use the\n`\u003camp-onetap-google\u003e` AMP Component: \n\n \u003cscript custom-element=\"amp-onetap-google\" src=\"https://cdn.ampproject.org/v0/amp-onetap-google-0.1.js\" async\u003e\u003c/script\u003e\n\nThe `\u003camp-onetap-google\u003e` AMP Component\n---------------------------------------\n\nThe following table lists the data attributes with their descriptions:\n\n| Attribute ||\n|----------------------------------------------------------|---------------------------------------------------------------|\n| [data-src](/identity/gsi/web/amp/amp-reference#data-src) | The URI of your One Tap intermediate iframe |\n| [layout](/identity/gsi/web/amp/amp-reference#layout) | The layout of the AMP component. Only \"nodisplay\" is allowed. |\n\n### data-src\n\nThis attribute is the URI of your One Tap intermediate iframe. See the following\ntable for further information:\n\n| Type | Required | Example |\n|--------|----------|-----------------------------------------------------|\n| string | Yes | `data-src=\"https://example.com/onetap_iframe.html\"` |\n\n### layout\n\nThis attribute is the layout of the AMP component, which is a required attribute\nof AMP components. For the `\u003camp-onetap-google\u003e` component, only\n\"nodisplay\" is allowed. See the following table for further information:\n\n| Type | Required | Example |\n|--------|----------|-----------------------|\n| string | Yes | `layout=\"nondisplay\"` |"]]