Apple News API PHP Client

ParallaxScaleHeader
in package
implements SceneInterface

FinalYes

Parallax scale header scene.

The parallax_scale scene creates a zoom-out parallax effect on the header as the user scrolls. The header image scales down while remaining visible, creating a dramatic reveal effect.

Tags
see
https://developer.apple.com/documentation/apple_news/parallaxscaleheader

Table of Contents

Interfaces

SceneInterface
Interface for all ANF scene types.

Methods

getType()  : string
Get the scene type identifier.
jsonSerialize()  : array{type: string}
{@inheritdoc}

Methods

getType()

Get the scene type identifier.

public getType() : string
Return values
string —

The scene type (e.g., 'fading_sticky_header', 'parallax_scale').

jsonSerialize()

{@inheritdoc}

public jsonSerialize() : array{type: string}
Return values
array{type: string}

        
On this page

Search results