-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(grid): add initial documentation for grid, split directives
- Loading branch information
1 parent
0da17c2
commit 8f19433
Showing
4 changed files
with
525 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Directive } from '@angular/core'; | ||
|
||
/** | ||
* @name Column | ||
* @module ionic | ||
* @description | ||
* | ||
* Column description | ||
* | ||
* ## Column attributes | ||
* | ||
* By default, columns will stretch to fill the entire height of the row. | ||
* There are several attributes that can be added to a column to customize this behavior. | ||
* | ||
* | Property | Description | | ||
* |-----------------|-------------------------------------------------------------------------------------------------------------| | ||
* | top | Adds `align-self: flex-start`. The column will be vertically aligned at the top. | | ||
* | bottom | Adds `align-self: flex-end`. The column will be vertically aligned at the bottom. | | ||
* | center | Adds `align-self: center`. The column will be vertically aligned in the center. | | ||
* | stretch | Adds `align-self: stretch`. The column will be stretched to take up the entire height of the row. | | ||
* | baseline | Adds `align-self: baseline`. The column will be vertically aligned at its baselines. | | ||
* | ||
* | ||
*/ | ||
@Directive({ | ||
selector: 'ion-col, [ion-col]', | ||
host: { | ||
'class': 'col' | ||
} | ||
}) | ||
export class Col { | ||
|
||
} |
Oops, something went wrong.