https://github.com/leafoftree/ngplaceholder
用于 input 的 AngularJS placeholder 指令
https://github.com/leafoftree/ngplaceholder
Last synced: 11 months ago
JSON representation
用于 input 的 AngularJS placeholder 指令
- Host: GitHub
- URL: https://github.com/leafoftree/ngplaceholder
- Owner: leafOfTree
- Created: 2018-02-05T02:14:11.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T02:35:22.000Z (about 8 years ago)
- Last Synced: 2025-03-22T05:32:51.456Z (11 months ago)
- Language: HTML
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AngularJS placeholder 指令
## 使用
加入`ngPlaceholder`模块
```javascript
angular.module('yourapp', ['ngPlaceholder'])
...
```
在 HTML 中使用 `ng-placeholder`
```html
```
## 安装
下载
git clone https://github.com/leafOfTree/ngPlaceholder
添加 ngPlaceholder.js 到项目中
```html
```