milkyway-multimedia/ss-mwm-assets
Composer 安装命令:
composer require milkyway-multimedia/ss-mwm-assets
包简介
New requirements backend for Silverstripe
README 文档
README
Features
- Access using:
singleton('require') - You now have some sort of priority for your requirements
- ->before
- ->after
- ->first
- ->last
- Defer CSS and javascript until page loads using: ->defer
- Inline CSS and javascript using: ->inline
- Replace certain files using: ->replace
- Insert CSS and javascript into the using: ->head
- New globals for your templates
- $inlineFile(''): Inline a file at this section of a template
- $placeIMG($width = 400, $height = 300, $categories = 'any', $filters = ''): Insert a placeholder image courtesy of placeimg.com
- $loremIpsum($paragraphs = 1, $length = 'short', $opts = ['plaintext']): Insert lorem ipsum text courtesy of loripsum.net
Install
Add the following to your composer.json file
"require" : {
"milkyway-multimedia/ss-mwm-assets": "dev-master"
}
License
- MIT
Version
- Version 0.3 (Alpha)
Contact
Mellisa Hankins
- E-mail: mellisa.hankins@me.com
- Twitter: @mi3ll
- Website: mellimade.com.au
统计信息
- 总下载量: 1.42k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-01