pub struct PaginationPreviousProps {Show 39 fields
pub children: Children,
pub accesskey: MaybeProp<String>,
pub autocapitalize: MaybeProp<String>,
pub autofocus: MaybeProp<bool>,
pub class: MaybeProp<String>,
pub contenteditable: MaybeProp<String>,
pub dir: MaybeProp<String>,
pub draggable: MaybeProp<bool>,
pub enterkeyhint: MaybeProp<String>,
pub exportparts: MaybeProp<String>,
pub hidden: MaybeProp<String>,
pub id: MaybeProp<String>,
pub inert: MaybeProp<bool>,
pub inputmode: MaybeProp<String>,
pub is: MaybeProp<String>,
pub itemid: MaybeProp<String>,
pub itemprop: MaybeProp<String>,
pub itemref: MaybeProp<String>,
pub itemscope: MaybeProp<String>,
pub itemtype: MaybeProp<String>,
pub lang: MaybeProp<String>,
pub nonce: MaybeProp<String>,
pub part: MaybeProp<String>,
pub popover: MaybeProp<String>,
pub role: MaybeProp<String>,
pub slot: MaybeProp<String>,
pub spellcheck: MaybeProp<String>,
pub style: MaybeProp<String>,
pub tabindex: MaybeProp<usize>,
pub title: MaybeProp<String>,
pub translate: MaybeProp<String>,
pub download: MaybeProp<String>,
pub href: MaybeProp<String>,
pub hreflang: MaybeProp<String>,
pub mimetype: MaybeProp<String>,
pub ping: MaybeProp<String>,
pub referrerpolicy: MaybeProp<String>,
pub rel: MaybeProp<String>,
pub target: MaybeProp<String>,
}Expand description
Props for the PaginationPrevious component.
A pagination previous button
§Required Props
- children:
Children
§Optional Props
- accesskey:
impl Into<MaybeProp<String>>- A space separated list of keys to focus this element. The first key available on the user’s keyboard layout is used.
- autocapitalize:
impl Into<MaybeProp<String>>-
Sets whether the input value should be capitalized and how. If a parent
<form>hasautocapitalizerules set, it will override any rules set here.Accepted values: “none” or “off” | “sentences” or “on” | “words” | “characters”.
-
- autofocus:
impl Into<MaybeProp<bool>>- Grabs focus once the page has finished loading. Only one element on the page can be focused at a time.
- class:
impl Into<MaybeProp<String>>- Apply classes to the element.
- contenteditable:
impl Into<MaybeProp<String>>-
Allows client-side editing of the element by the user.
Accepted values: “true” | “false” | “plaintext-only”
-
- dir:
impl Into<MaybeProp<String>>-
Indicate directionality of the element’s text.
Accepted values: “ltr” | “rtl” | “auto”
-
- draggable:
impl Into<MaybeProp<bool>>- Toggle whether the element can be dragged.
- enterkeyhint:
impl Into<MaybeProp<String>>- Modifies the appearance of the enter key on virtual keyboards.
- exportparts:
impl Into<MaybeProp<String>>- Expose elements in the shadow DOM to be manipulated by the DOM.
- hidden:
impl Into<MaybeProp<String>>- Controls hidden status of the element.
- id:
impl Into<MaybeProp<String>>- Set the id of this element.
- inert:
impl Into<MaybeProp<bool>>- Toggle if the browser reacts to input events from this element.
- inputmode:
impl Into<MaybeProp<String>>- Hints to the browser of what type of virtual keyboard to display when editing this element or its children.
- is:
impl Into<MaybeProp<String>>- Used to render a standard element as a custom element.
- itemid:
impl Into<MaybeProp<String>>- Unique global identifier of an item.
- itemprop:
impl Into<MaybeProp<String>>- Used to add properties to an item.
- itemref:
impl Into<MaybeProp<String>>- Used to associate an item with a related non-parent element that’s using
itemscope.
- Used to associate an item with a related non-parent element that’s using
- itemscope:
impl Into<MaybeProp<String>>- Used to declare that children elements are related to a particular item.
- itemtype:
impl Into<MaybeProp<String>>- URL of data used to define
itemprops.
- URL of data used to define
- lang:
impl Into<MaybeProp<String>>- Defines the language of an element.
- nonce:
impl Into<MaybeProp<String>>- Cryptographic “number used once”.
- part:
impl Into<MaybeProp<String>>- List of the part names of the element.
- popover:
impl Into<MaybeProp<String>>- Designate an element as a popover element.
- role:
impl Into<MaybeProp<String>>- Define the semantic meaning of content.
- slot:
impl Into<MaybeProp<String>>- Assigns a slot to an element.
- spellcheck:
impl Into<MaybeProp<String>>-
Toggle spellcheck for this input.
Accepted values: “default” | “true” | “false”.
-
- style:
impl Into<MaybeProp<String>>- Define CSS to be applied to the element.
- tabindex:
impl Into<MaybeProp<usize>>- Controls how an element behaves when a user navigates using the tab key.
- title:
impl Into<MaybeProp<String>>- Describes the content of the element to screen readers.
- translate:
impl Into<MaybeProp<String>>- Defines localization behavior for the element.
- download:
impl Into<MaybeProp<String>>- Causes the browser to treat the linked URL as a download. Can be used with or without a
filenamevalue.
- Causes the browser to treat the linked URL as a download. Can be used with or without a
- href:
impl Into<MaybeProp<String>>- The URL the link points to.
- hreflang:
impl Into<MaybeProp<String>>- Hints at the language of the content at the linked URL.
- mimetype:
impl Into<MaybeProp<String>>- Hint the MIME type of the linked data.
- ping:
impl Into<MaybeProp<String>>- Space separated list of URLs to ping with a
POSTrequest when the link is clicked.
- Space separated list of URLs to ping with a
- referrerpolicy:
impl Into<MaybeProp<String>>- How much of the referrer header to send when following the link.
- rel:
impl Into<MaybeProp<String>>- Relationship between the linked resource and the current document.
- target:
impl Into<MaybeProp<String>>- Specify where to display the linked content
Fields§
§children: Children§accesskey: MaybeProp<String>A space separated list of keys to focus this element. The first key available on the user’s keyboard layout is used.
autocapitalize: MaybeProp<String>Sets whether the input value should be capitalized and how. If a parent <form> has
autocapitalize rules set, it will override any rules set here.
Accepted values: “none” or “off” | “sentences” or “on” | “words” | “characters”.
autofocus: MaybeProp<bool>Grabs focus once the page has finished loading. Only one element on the page can be focused at a time.
class: MaybeProp<String>Apply classes to the element.
contenteditable: MaybeProp<String>Allows client-side editing of the element by the user.
Accepted values: “true” | “false” | “plaintext-only”
dir: MaybeProp<String>Indicate directionality of the element’s text.
Accepted values: “ltr” | “rtl” | “auto”
draggable: MaybeProp<bool>Toggle whether the element can be dragged.
enterkeyhint: MaybeProp<String>Modifies the appearance of the enter key on virtual keyboards.
exportparts: MaybeProp<String>Expose elements in the shadow DOM to be manipulated by the DOM.
Controls hidden status of the element.
id: MaybeProp<String>Set the id of this element.
inert: MaybeProp<bool>Toggle if the browser reacts to input events from this element.
inputmode: MaybeProp<String>Hints to the browser of what type of virtual keyboard to display when editing this element or its children.
is: MaybeProp<String>Used to render a standard element as a custom element.
itemid: MaybeProp<String>Unique global identifier of an item.
itemprop: MaybeProp<String>Used to add properties to an item.
itemref: MaybeProp<String>Used to associate an item with a related non-parent element that’s using itemscope.
itemscope: MaybeProp<String>Used to declare that children elements are related to a particular item.
itemtype: MaybeProp<String>URL of data used to define itemprops.
lang: MaybeProp<String>Defines the language of an element.
nonce: MaybeProp<String>Cryptographic “number used once”.
part: MaybeProp<String>List of the part names of the element.
popover: MaybeProp<String>Designate an element as a popover element.
role: MaybeProp<String>Define the semantic meaning of content.
slot: MaybeProp<String>Assigns a slot to an element.
spellcheck: MaybeProp<String>Toggle spellcheck for this input.
Accepted values: “default” | “true” | “false”.
style: MaybeProp<String>Define CSS to be applied to the element.
tabindex: MaybeProp<usize>Controls how an element behaves when a user navigates using the tab key.
title: MaybeProp<String>Describes the content of the element to screen readers.
translate: MaybeProp<String>Defines localization behavior for the element.
download: MaybeProp<String>Causes the browser to treat the linked URL as a download. Can be used with or without a
filename value.
href: MaybeProp<String>The URL the link points to.
hreflang: MaybeProp<String>Hints at the language of the content at the linked URL.
mimetype: MaybeProp<String>Hint the MIME type of the linked data.
ping: MaybeProp<String>Space separated list of URLs to ping with a POST request when the link is clicked.
referrerpolicy: MaybeProp<String>How much of the referrer header to send when following the link.
rel: MaybeProp<String>Relationship between the linked resource and the current document.
target: MaybeProp<String>Specify where to display the linked content
Implementations§
Source§impl PaginationPreviousProps
impl PaginationPreviousProps
Sourcepub fn builder() -> PaginationPreviousPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> PaginationPreviousPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building PaginationPreviousProps.
On the builder, call .children(...), .accesskey(...)(optional), .autocapitalize(...)(optional), .autofocus(...)(optional), .class(...)(optional), .contenteditable(...)(optional), .dir(...)(optional), .draggable(...)(optional), .enterkeyhint(...)(optional), .exportparts(...)(optional), .hidden(...)(optional), .id(...)(optional), .inert(...)(optional), .inputmode(...)(optional), .is(...)(optional), .itemid(...)(optional), .itemprop(...)(optional), .itemref(...)(optional), .itemscope(...)(optional), .itemtype(...)(optional), .lang(...)(optional), .nonce(...)(optional), .part(...)(optional), .popover(...)(optional), .role(...)(optional), .slot(...)(optional), .spellcheck(...)(optional), .style(...)(optional), .tabindex(...)(optional), .title(...)(optional), .translate(...)(optional), .download(...)(optional), .href(...)(optional), .hreflang(...)(optional), .mimetype(...)(optional), .ping(...)(optional), .referrerpolicy(...)(optional), .rel(...)(optional), .target(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PaginationPreviousProps.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaginationPreviousProps
impl !RefUnwindSafe for PaginationPreviousProps
impl Send for PaginationPreviousProps
impl !Sync for PaginationPreviousProps
impl Unpin for PaginationPreviousProps
impl !UnwindSafe for PaginationPreviousProps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more