generated from mitchell/rust_template
small rename
This commit is contained in:
parent
edc9c4d371
commit
360ef63b58
@ -22,7 +22,7 @@ pub trait FormStyle: Default + 'static {
|
|||||||
///
|
///
|
||||||
/// Do NOT wrap it in an actual `form` element; any
|
/// Do NOT wrap it in an actual `form` element; any
|
||||||
/// wrapping should be done with `div` or similar elements.
|
/// wrapping should be done with `div` or similar elements.
|
||||||
fn form_frame(&self, children: View, styles: Vec<Self::StylingAttributes>) -> View;
|
fn form_frame(&self, children: View, style: Vec<Self::StylingAttributes>) -> View;
|
||||||
fn heading(&self, control: ControlRenderData<Self, HeadingData>) -> View;
|
fn heading(&self, control: ControlRenderData<Self, HeadingData>) -> View;
|
||||||
fn hidden(
|
fn hidden(
|
||||||
&self,
|
&self,
|
||||||
@ -86,6 +86,5 @@ pub trait FormStyle: Default + 'static {
|
|||||||
fn submit(&self, control: ControlRenderData<Self, SubmitData>) -> View;
|
fn submit(&self, control: ControlRenderData<Self, SubmitData>) -> View;
|
||||||
// TODO: test custom component
|
// TODO: test custom component
|
||||||
fn custom_component(&self, view: View) -> View;
|
fn custom_component(&self, view: View) -> View;
|
||||||
// TODO: test group
|
fn group(&self, inner: View, style: Vec<Self::StylingAttributes>) -> View;
|
||||||
fn group(&self, inner: View, styles: Vec<Self::StylingAttributes>) -> View;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user