Sha256: 50b1861c703fb2b96844fb78c62b797b84ed961ebda380baa37da27e7e4608a8

Contents?: true

Size: 782 Bytes

Versions: 10

Compression:

Stored size: 782 Bytes

Contents

<!--Custom markup.
If the plugin defines a component then it should set v-plugin and data-plugin-callback to the class of the component

If the plugin posts data then it should define the v-input class.
That will cause its validate and prepareSubmit methods in the component to be called

If the plugin has events it publishes then the erb :"components/event" needs to be invoked to
hookup the event handling markup

Any additional data you want to pass to your component javascript should be setup here as data attributes.
-->
<iframe id="random_fact" class='v-plugin v-input' data-plugin-callback='RandomFacts'
        src="<%%= comp.random_fact %>" height=512
        <%%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.id} %>></iframe>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.11 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.10 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.9 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.8 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.7 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.6 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.5 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.4 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.3 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt