diff --git a/.github/workflows/actions/build-core/action.yml b/.github/workflows/actions/build-core/action.yml index 5d52bc5ae3..06a8e6e89f 100644 --- a/.github/workflows/actions/build-core/action.yml +++ b/.github/workflows/actions/build-core/action.yml @@ -30,7 +30,7 @@ runs: with: name: ionic-core output: core/CoreBuild.zip - paths: core/dist core/components core/css core/hydrate core/loader + paths: core/dist core/components core/css core/hydrate core/loader core/src/components.d.ts - uses: ./.github/workflows/actions/upload-archive with: name: ionic-core-src diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 2ac023504f..9472e17678 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -671,6 +671,9 @@ export namespace Components { * If `true`, the content will scroll behind the headers and footers. This effect can easily be seen by setting the toolbar to transparent. */ "fullscreen": boolean; + /** + * Returns the background content element. + */ "getBackgroundElement": () => Promise; /** * Get the element where the actual scrolling takes place. This element can be used to subscribe to `scroll` events or manually modify `scrollTop`. However, it's recommended to use the API provided by `ion-content`: i.e. Using `ionScroll`, `ionScrollStart`, `ionScrollEnd` for scrolling events and `scrollToPoint()` to scroll the content into a certain point.