mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
docs(changelog): icon refactor
This commit is contained in:
26
CHANGELOG.md
26
CHANGELOG.md
@ -1,6 +1,28 @@
|
||||
<a name="2.0.0-alpha.46"></a>
|
||||
# 2.0.0-alpha.47 (2016-1-4)
|
||||
<a name="2.0.0-alpha.48"></a>
|
||||
# 2.0.0-alpha.48 (2016-1-7)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
##### Icon Refactor
|
||||
|
||||
* `<icon>` has been renamed to `<ion-icon>`
|
||||
* `<ion-icon>` requires the `name` attribute with a value
|
||||
* Icon names with a `ion-` prefix is no longer needed
|
||||
* Icons with `social-` prefix have been changed to a `-logo` suffix
|
||||
|
||||
Was:
|
||||
|
||||
`<icon home></icon>`
|
||||
`<icon ion-social-twitter></icon>`
|
||||
|
||||
Now:
|
||||
|
||||
`<ion-icon name="home"></ion-icon>`
|
||||
`<ion-icon name="twitter-logo"></ion-icon>`
|
||||
|
||||
|
||||
<a name="2.0.0-alpha.47"></a>
|
||||
# 2.0.0-alpha.47 (2016-1-4)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
|
Reference in New Issue
Block a user