Welcome What's new in Chrome extensions API reference Samples
Welcome What's new in Chrome extensions API reference Samples

chrome.appviewTag

This API is part of the Chrome Apps platform, which was deprecated in 2020. It remains supported for Enterprise and Education customers on ChromeOS until at least Jan 2025. Learn more about migrating your app.
  • Description

    Use the appview tag to embed other Chrome Apps within your Chrome App. (see Usage).

  • Permissions
    appview
  • Availability
    Chrome 43+

Summary

Types

EmbedRequest

Properties

  • data

    object

    Optional developer specified data that the app to be embedded can use when making an embedding decision.

  • embedderId

    string

    The ID of the app that sent the embedding request.

  • allow

    void

    Allows the embedding request.

    The allow function looks like: (url: string) => {...}

    • url

      string

      Specifies the content to be embedded.

  • deny

    void

    Prevents the embedding request.

    The deny function looks like: () => {...}

Methods

connect

chrome.appviewTag.connect(
  app: string,
  data?: any,
  callback?: function,
)

Requests another app to be embedded.

Parameters

  • app

    string

    The extension id of the app to be embedded.

  • data

    any optional

    Optional developer specified data that the app to be embedded can use when making an embedding decision.

  • callback

    function optional

    The callback parameter looks like: (success: boolean) => void

    • success

      boolean

      True if the embedding request succeded.

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.