ttree/script

Last activity on 04 May 2022
  • 4
  • 6
  • 14143
composer require ttree/script

Fusion objects to generate a script tag

3.0.11

Fusion objects to generate a script tag

Version
3.0.11
Type
neos-package
Release Date
May 4, 2022, 4:18:11 pm
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT
  • #javascript
  • #asset
  • #script
  • #neoscms
  • #fusion
  • #flow-framework
b3b3555ea5561cf3b24ccc5f04b9dcae8055cccc

BSD License Latest Stable Version

Script Fusion Prototypes

This package contains Fusion prototypes to work with Script HTML tags in your Flow Framework and Neos CMS project.

Available Objects

Ttree.Script:Resource

Generate a HTML script element in HTML5:

stylesheets.main = Ttree.Script:Resource {
    uri = 'resource://Your.Package/Public/Scripts/Main.js'
    cacheBusting = true
}

You can disable HTTP cache busting by setting cacheBusting to false.

Set inline to true to inline the content of the resource.

Ttree.Script:External

Generate a HTML script element in HTML5:

javascripts.main = Ttree.Script:External {
    uri = 'http://www.domain.com/main.js'
}

Acknowledgments

Development sponsored by ttree ltd - neos solution provider.

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License

The MIT License (MIT). Please see LICENSE for more information.

The content of the readme is provided by Github
The same vendor provides 48 package(s).