Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
00411276
Commit
00411276
authored
Aug 20, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/ionic-code-style.md
Auto commit by GitBook Editor
parent
05c0d853
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
ionic-code-style.md
ionic/ionic-code-style.md
+4
-0
controller-html.png
picture/controller-html.png
+0
-0
No files found.
ionic/ionic-code-style.md
View file @
00411276
...
...
@@ -35,6 +35,10 @@
*
采用
`this`
关键字代替js中
`$scope`
,因存在效率问题
![](/picture/controller-this.png)
*
html中使用
`controller`
需要注意,因变量声明不采取
`$scope`
方式,故html中使用有点区别。采用
`controller`
别名加属性名的方式 如下
![](/picture/controller-html.png)
### III. SCSS文件注册
...
...
picture/controller-html.png
0 → 100644
View file @
00411276
7.43 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment