fromSubCategory

Gets an Array of wallpapers belonging to a single Sub-Category.

This method belongs to the property - getSpecificWallpapers

Parameters

Returns

Promise<Array<Wallpaper> | null>

Example Code

<getWallpapers>.fromSubCategory(1).then(x => console.log(x));

// OR

<getWallpapers>.fromSubCategory(1, {
    page: 10,
    operator: 'min',
    type: 'phone',
    ratio: [0.75, 1]
}).then(x => console.log(x));

Last updated