Skip to content

Commit

Permalink
# This is a combination of 7 commits.
Browse files Browse the repository at this point in the history
# 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 angular#2:

revert firebase file
# This is the commit message angular#3:

change code according to comments in PR
# This is the commit message angular#4:

revert firbaserc
# This is the commit message angular#5:

revert demo-app.ts
# This is the commit message angular#6:

revert routes.ts
# This is the commit message angular#2:

change
# This is the commit message angular#3:

fix the problem of : 'this.stickyParent' might be 'null'
# This is the commit message angular#2:

change doc
# This is the commit message angular#3:

Change the constructor of 'cdkStickyRegion' to 'constructor(public readonly _elementRef: ElementRef) { }'
# This is the commit message angular#4:

Added prefix 'mat-' for CSS class
# This is the commit message angular#5:

Delete 'public' before variables
# This is the commit message angular#6:

Object.assign isn't supported in IE11; use extendObject from src/lib/core/util.
# This is the commit message angular#7:

 IE11 will have trouble with  `translate3d(0, 0, 0);', change to `translate3d(0px, 0px, 0px);'
  • Loading branch information
sllethe committed Jul 25, 2017
1 parent da82a1f commit 52c6bce
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 293 deletions.
5 changes: 0 additions & 5 deletions .firebaserc

This file was deleted.

3 changes: 1 addition & 2 deletions src/demo-app/demo-app/demo-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export class DemoApp {
{name: 'Tooltip', route: 'tooltip'},
{name: 'Platform', route: 'platform'},
{name: 'Style', route: 'style'},
{name: 'Typography', route: 'typography'},
{name: 'Sticky Header', route: 'sticky-header'},
{name: 'Typography', route: 'typography'}
];

constructor(private _element: ElementRef) {
Expand Down
2 changes: 0 additions & 2 deletions src/demo-app/demo-app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ import {DatepickerDemo} from '../datepicker/datepicker-demo';
import {TableDemo} from '../table/table-demo';
import {TypographyDemo} from '../typography/typography-demo';
import {ExpansionDemo} from '../expansion/expansion-demo';
import {StickyHeaderDemo} from '../sticky-header/sticky-header-demo';


export const DEMO_APP_ROUTES: Routes = [
{path: '', component: Home},
Expand Down
Loading

0 comments on commit 52c6bce

Please sign in to comment.