Sha256: a94db6d945c0306f75aa4f9aacf4ef185bf67a4ee5e044f6904fa38de4ad9f1b
Contents?: true
Size: 863 Bytes
Versions: 18
Compression:
Stored size: 863 Bytes
Contents
<style> <%%= File.read(File.expand_path('../assets/css/components/<%= underscore(name) %>.css', __dir__) ) %> </style> <script> // This file is defining the callback method that will be invoked when the custom plugin actionJs `actionJs` is encountered <%%= File.read(File.expand_path('../assets/js/components/actions/<%= underscore(name) %>.js', __dir__) ) %> // This file is defining the plugin component that will be delegated to by the WebClient. <%%= File.read(File.expand_path('../assets/js/components/<%= underscore(name) %>.js', __dir__) ) %> // Custom javascript specific to this sample plugin - sets the class name that causes the initial load to // animate a transition (defined in the component.css.tt file) function load() { document.getElementById('random_fact').className = ' load'; } window.onload = load; </script>
Version data entries
18 entries across 18 versions & 2 rubygems