close

Filter

loading table of contents...

CoreMedia Content Cloud v11 Upgrade Guide / Version 2110

Table Of Contents
7.3.1.3.1 Imports

Taken all together, as an example, the ActionScript interface com.coremedia.ui.data.RemoteBean is converted to the TypeScript module reference @coremedia/studio-client.ext.client-core/data/RemoteBean.

Here is the ActionScript and TypeScript import syntax in direct comparison:

ActionScript TypeScript
// from within the same Maven Module and ActionScript package:
// no import necessary!
// from with the same Maven Module, but ActionScript package com.coremedia.ui.util:
import com.coremedia.ui.data.RemoteBean;
// from another Maven module:
import com.coremedia.ui.data.RemoteBean;
// from within the same NPM package and source folder:
import RemoteBean from "./RemoteBean";

// from within the same NPM package, but source folder /util:
import RemoteBean from "../data/RemoteBean";

// from another NPM package:
import RemoteBean from "@coremedia/studio-client.ext.client-core/data/RemoteBean";

Table 7.3.  Imports ActionScript-TypeScript example comparison


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.