Forums

Give help. Get help.

  • # December 5, 2018 at 6:35 pm

    Hello,

    i’m not a javascript developer, but i tried to write a small script. Codesnipping from various sites :(.

    Well. I’ve a table in “Google spreadsheets” –> Link https://docs.google.com/spreadsheets/d/1XHKLxse9AC-bgapFLUy-4H_FCCi8X1YHZJJmtcEut9I/edit

    Every Entry should like a picture with additional attributes, like the first entry in google spreadsheets .

    I have create a table with 2 columns. All my entries in the table should like this code from me -> https://codepen.io/Paddymaster/pen/aQBWjK.

    Current i can import the text from google drive, but dont know how i can put the text into html code. Its an array from javascript.

    my current code

    # December 9, 2018 at 2:04 pm

    nobody knows a good answer ?

    # December 10, 2018 at 2:21 am

    I’m not sure what it is you’re asking for here, but when using vue, I don’t think you should be creating html elements with javascript, but use the ones in your template.
    So if you want to have the image being shown, then you can use <img></span> for rendering the image with the source instead of {{item.bild}}. Because the latter just outputs text. You don’t have to create an image element yourself for this, just change this in the template.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag