amp-onetap-google
Description
Displays Google One Tap.
Required Scripts
<script async custom-element="amp-onetap-google" src="https://cdn.ampproject.org/v0/amp-onetap-google-0.1.js"></script>
Supported Layouts
Overview
You can use the amp-onetap-google
component to embed a Google One Tap on the page, to allow users to sign into your websites with Google accounts.
Example
<amp-onetap-google layout="nodisplay" data-src="https://rp.com/intermediate" ></amp-onetap-google>
Attributes
data-src (required) | The URL of the intermediate iframe. |
common attributes | This element includes common attributes extended to AMP components. |
لقد قرأت هذا المستند عشرات المرات ولكن ألم يُجِب عن جميع أسئلتك؟ ربما حصل ذات الأمر مع أشخاص آخرين: تواصل معهم على Stack Overflow.
الذهاب إلى Stack Overflow هل وجدت خطأ أو تفتقد لميزة؟يشجع مشروع AMP مشاركتك ومساهمتك بشدة! ونأمل أن تكون مشاركًا دائمًا في مجتمعنا مفتوح المصدر، ولكننا نشجع أيضًا المساهمات التي تحدث لمرة واحدة في الأمور التي تتحمس لها.
الانتقال إلى GitHub