π Infinite Scroll Component in Angular
#angular #rxjs #ui_element #infiniteScroll
β Article linkπ Code Link
#angular #rxjs #ui_element #infiniteScroll
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
π Angular Animations Tutorial: Route Transitions
#angular #ui_element #provideRouter #provideAnimations
β Article link
π Code link
#angular #ui_element #provideRouter #provideAnimations
export const routeTransition = trigger(
'routeTransition', [
transition('* => *', [
query(':enter', [
style({
opacity: 0,
scale: 0.9
}),
], { optional: true }),
query(':leave', [
animate('0.2s', style({
opacity: 0,
scale: 0.9
}))
], { optional: true }),
query(':enter', [
animate('0.2s', style({
opacity: 1,
scale: 1
}))
], { optional: true })
])
])
<app-nav></app-nav>
<div
[@routeTransition]="data"
style="display: contents"
>
<router-outlet></router-outlet>
</div>
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
β€1π1
This media is not supported in your browser
VIEW IN TELEGRAM
π AI writing assistant
#js #react #ui_element
β Article link
#js #react #ui_element
....Imagine youβve created an amazing AI writing assistant giving helpful suggestions for writing engaging stories....
β Article link
This media is not supported in your browser
VIEW IN TELEGRAM
#angular #animations #ui_element
Example explanation:
Triggers (trigger):
parentTrigger: Defines animations for the parent element.
childTrigger: Defines animations for the child elements.
States (state):
parentTrigger: Has the states start and end.
childTrigger: Has the states visible and hidden.
Styles (style):
Defines final and intermediate styles for different states and transitions.
Transitions (transition):
Defines how the animation should occur between states.
Animate (animate):
Defines the duration and timing function of the animations.
Keyframes (keyframes):|
Used in the transition from visible to hidden in the child elements to create detailed intermediate animations.
Group (group):
Used in the transition from start to end in parentTrigger to animate multiple properties in parallel.
Sequence (sequence):
Used in the transition from end to start in parentTrigger to animate multiple properties in sequence.
Query (query):
Used in the transition from hidden to visible in childTrigger to select and animate child elements.
Stagger (stagger):
Used with query to apply a delay between the animations of the child elements, creating a cascading effect.
β Article link
Please open Telegram to view this post
VIEW IN TELEGRAM
π2
This media is not supported in your browser
VIEW IN TELEGRAM
#angular #animations #ui_element
β Article link |
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π1