Sha256: 88da84d364faced4f2b37d5444ad03045bc44cd6881614a4286413cddea4f95f

Contents?: true

Size: 779 Bytes

Versions: 8

Compression:

Stored size: 779 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
        <%%= erb :"components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.id} %>></iframe>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt
coprl-3.0.0.beta.2 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
coprl-3.0.0.beta.1 lib/coprl/presenters/generators/templates/plugin/views/components/application/component.erb.tt
voom-presenters-2.1.0 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt
voom-presenters-2.0.3 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt
voom-presenters-2.0.2 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt
voom-presenters-2.0.1 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt
voom-presenters-2.0.0 lib/voom/presenters/generators/templates/plugin/views/components/component.erb.tt