Skip to content

Commit 524f1b1

Browse files
committed
# This is a combination of 7 commits.
# This is the 1st commit message: # This is a combination of 3 commits. # This is the 1st commit message: # This is a combination of 6 commits. # This is the 1st commit message: refine code encapsulate 'set style for element' change @input() Delete 'Observable.fromEvent(this.upperScrollableContainer, 'scroll')' add const STICK_START_CLASS and STICK_END_CLASS Add doc for [cdkStickyRegion] and 'unstuckElement()'. Delete 'detach()' function, add its content into 'ngOnDestroy()'. encapsulate reset css style operation for sticky header. delete unnecessary gloable variables delete global variable '_width' Add doc for 'sticker()' function. explained how it works. add more doc for 'sticker()', explaining 'isStuck' flag 2 space for indent fix delete sticky-header demo part from this branch # This is the commit message #2: revert firebase file # This is the commit message #3: change code according to comments in PR # This is the commit message #4: revert firbaserc # This is the commit message #5: revert demo-app.ts # This is the commit message #6: revert routes.ts # This is the commit message #2: change # This is the commit message #3: fix the problem of : 'this.stickyParent' might be 'null' # This is the commit message #2: change doc # This is the commit message #3: Change the constructor of 'cdkStickyRegion' to 'constructor(public readonly _elementRef: ElementRef) { }' # This is the commit message #4: Added prefix 'mat-' for CSS class # This is the commit message #5: Delete 'public' before variables # This is the commit message #6: Object.assign isn't supported in IE11; use extendObject from src/lib/core/util. # This is the commit message #7: IE11 will have trouble with `translate3d(0, 0, 0);', change to `translate3d(0px, 0px, 0px);'
1 parent 70bbdf3 commit 524f1b1

File tree

4 files changed

+263
-293
lines changed

4 files changed

+263
-293
lines changed

.firebaserc

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/demo-app/demo-app/demo-app.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ export class DemoApp {
6767
{name: 'Tooltip', route: 'tooltip'},
6868
{name: 'Platform', route: 'platform'},
6969
{name: 'Style', route: 'style'},
70-
{name: 'Typography', route: 'typography'},
71-
{name: 'Sticky Header', route: 'sticky-header'},
70+
{name: 'Typography', route: 'typography'}
7271
];
7372

7473
constructor(private _element: ElementRef) {

src/demo-app/demo-app/routes.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ import {DatepickerDemo} from '../datepicker/datepicker-demo';
3636
import {TableDemo} from '../table/table-demo';
3737
import {TypographyDemo} from '../typography/typography-demo';
3838
import {ExpansionDemo} from '../expansion/expansion-demo';
39-
import {StickyHeaderDemo} from '../sticky-header/sticky-header-demo';
40-
4139

4240
export const DEMO_APP_ROUTES: Routes = [
4341
{path: '', component: Home},

0 commit comments

Comments
 (0)