Skip to content

Commit

Permalink
Remove old snackbar apis
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Dec 9, 2024
1 parent 55a57d8 commit ab87eb8
Showing 1 changed file with 1 addition and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,42 +84,4 @@
<DocsPageSectionSource Code="SnackbarStackedExample" />
</DocsPageSection>

<ComponentApiDocs ComponentTypes="[typeof(Snackbar)]" />

<DocsPageSubtitle>
API
</DocsPageSubtitle>

<Heading Size="HeadingSize.Is3">
Attributes
</Heading>

<DocsAttributes>
<DocsAttributesItem Name="Location" Type="SnackbarLocation" Default="Default">
Defines the snackbar location.
</DocsAttributesItem>
<DocsAttributesItem Name="Color" Type=" SnackbarColor" Default="Default">
Defines the snackbar color.
</DocsAttributesItem>
<DocsAttributesItem Name="Visible" Type="bool" Default="false">
Defines the visibility of snackbar.
</DocsAttributesItem>
<DocsAttributesItem Name="Multiline" Type="bool" Default="false">
Allow snackbar to show multiple lines of text.
</DocsAttributesItem>
<DocsAttributesItem Name="Interval" Type="double" Default="5000">
Defines the interval (in milliseconds) after which the snackbar will be automatically closed.
</DocsAttributesItem>
<DocsAttributesItem Name="AnimationDuration" Type="double" Default="200">
efines the base animation duration in milliseconds.
</DocsAttributesItem>
<DocsAttributesItem Name="DelayCloseOnClick" Type="bool" Default="false">
If clicked on snackbar, a close action will be delayed by increasing the DefaultInterval time (used if no value is provided in the Push method).
</DocsAttributesItem>
<DocsAttributesItem Name="DelayCloseOnClickInterval" Type="double?" Default="null">
Defines the interval(in milliseconds) by which the snackbar will be delayed from closing.
</DocsAttributesItem>
<DocsAttributesItem Name="Closed" Type="EventCallback<SnackbarClosedEventArgs>" Default="null">
Occurs after the snackbar has closed.
</DocsAttributesItem>
</DocsAttributes>
<ComponentApiDocs ComponentTypes="[typeof(Snackbar)]" />

0 comments on commit ab87eb8

Please sign in to comment.