Props
Attributes
- Graph
-
- Supertypes
-
trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
Specify which implementation to use. 'js' is the default, 'css' works better for server-side rendering.
Specify which implementation to use. 'js' is the default, 'css' works better for server-side rendering.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
implementation.type
You can use this prop when choosing the js
implementation with server-side rendering.
You can use this prop when choosing the js
implementation with server-side rendering.
As window.innerWidth
is unavailable on the server, we default to rendering an empty component during the first mount. You might want to use a heuristic to approximate the screen width of the client browser screen width.
For instance, you could be using the user-agent or the client-hints. https://caniuse.com/#search=client%20hint
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
initialWidth.type
Value members
Concrete methods
The content of the component.
The content of the component.
Attributes
If true
, component is hidden on screens below (but not including) this size.
If true
, component is hidden on screens below (but not including) this size.
Attributes
If true
, component is hidden on screens this size and above.
If true
, component is hidden on screens this size and above.
Attributes
If true
, component is hidden on screens below (but not including) this size.
If true
, component is hidden on screens below (but not including) this size.
Attributes
If true
, component is hidden on screens this size and above.
If true
, component is hidden on screens this size and above.
Attributes
If true
, component is hidden on screens below (but not including) this size.
If true
, component is hidden on screens below (but not including) this size.
Attributes
If true
, component is hidden on screens this size and above.
If true
, component is hidden on screens this size and above.
Attributes
If true
, component is hidden on screens below (but not including) this size.
If true
, component is hidden on screens below (but not including) this size.
Attributes
If true
, component is hidden on screens this size and above.
If true
, component is hidden on screens this size and above.
Attributes
If true
, component is hidden on screens below (but not including) this size.
If true
, component is hidden on screens below (but not including) this size.
Attributes
If true
, component is hidden on screens this size and above.
If true
, component is hidden on screens this size and above.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes