Trường · Url
Trường · Url · image.url. Phương thức tạo · Ví dụ
image.url
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Generates a random image url.
image.url(options?: { width?, height? })- options
- Options for generating a URL for an image.
- options.width
- The width of the image. Defaults to a random integer between 1 and 3999.
- options.height
- The height of the image. Defaults to a random integer between 1 and 3999.
Ví dụ
"https://picsum.photos/seed/4GqlQ9aN/2672/546"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.