Add docs for pc.image (#1203)
This commit is contained in:
parent
f9956cde1e
commit
32adf7c428
@ -39,10 +39,13 @@ class Image(ChakraComponent):
|
|||||||
# "eager" | "lazy"
|
# "eager" | "lazy"
|
||||||
loading: Var[str]
|
loading: Var[str]
|
||||||
|
|
||||||
# The image src attribute.
|
# The path/url to the image or PIL image object.
|
||||||
src: Var[Any]
|
src: Var[Any]
|
||||||
|
|
||||||
# The image srcset attribute.
|
# Provide multiple sources for an image, allowing the browser
|
||||||
|
# to select the most appropriate source based on factors like
|
||||||
|
# screen resolution and device capabilities.
|
||||||
|
# Learn more _[here](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images)_
|
||||||
src_set: Var[str]
|
src_set: Var[str]
|
||||||
|
|
||||||
def get_triggers(self) -> Set[str]:
|
def get_triggers(self) -> Set[str]:
|
||||||
|
Loading…
Reference in New Issue
Block a user