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

Version Path
coprl-3.0.0.beta.12 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.11 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.10 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.9 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.8 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.7 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.6 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.5 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
voom-presenters-2.1.2 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt
coprl-3.0.0.beta.4 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.3 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.2 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
coprl-3.0.0.beta.1 lib/coprl/presenters/generators/templates/plugin/views/components/application/component_header.erb.tt
voom-presenters-2.1.0 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt
voom-presenters-2.0.3 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt
voom-presenters-2.0.2 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt
voom-presenters-2.0.1 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt
voom-presenters-2.0.0 lib/voom/presenters/generators/templates/plugin/views/components/component_header.erb.tt