Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhileScrolling Trigger #1398

Merged
merged 2 commits into from
Mar 1, 2021
Merged

WhileScrolling Trigger #1398

merged 2 commits into from
Mar 1, 2021

Conversation

ichan-mb
Copy link
Member

Trigger that will active while the ScrollView is in motion

Example:

<App>
	<ClientPanel>
		<Panel>
			<Rectangle ux:Name="indicator" Color="#838383" CornerRadius="5" Width="8" Height="80" Alignment="TopRight"
				Opacity="0" />
			<ScrollView ux:Name="scrollview">
				<ScrollingAnimation>
					<Move Y="0.95" Target="indicator" RelativeNode="scrollview" RelativeTo="Size" />
				</ScrollingAnimation>
				<WhileScrolling>
					<Change indicator.Opacity="1" Duration="0.1" DelayBack="1" />
				</WhileScrolling>
				<StackPanel ItemSpacing="10">
					<Each Count="100">
						<Panel Height="40" Color="#CDCDCD">
							<Text Value="Item #{index()}" Alignment="VerticalCenter" Margin="10" />
						</Panel>
					</Each>
				</StackPanel>
			</ScrollView>
		</Panel>
	</ClientPanel>
</App>

This PR contains:

  • Changelog
  • Documentation
  • Tests

Copy link
Member

@mortend mortend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small typo in the doc-comment. :)

Copy link
Member

@mortend mortend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! :)

@mortend
Copy link
Member

mortend commented Mar 1, 2021

@mortend mortend merged commit 13f31c9 into fuse-open:master Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants