Accessing SVG Filter Properties Through HTML Puzzles?

Home Forums Programming Accessing SVG Filter Properties Through HTML Puzzles?

This topic contains 1 reply, has 2 voices, and was last updated by Yuri Kovelenov Yuri Kovelenov 2 days, 5 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22847
    GlifTek
    GlifTek
    Licensee

    Hi,
    I’m designing my UI.
    I’m using SVGs.
    If I want to use the HTML Puzzles to access their filters, ie: <feGaussianBlur> … How would I go about doing so?
    The HTML style puzzle drop down dissent list them, and it’s not flexible so I can’t input them via text field puzzle.

    Do I go the js function call puzzle route, or is there another option?

    If so, can the HTML element puzzle when “script”is chosen, cite an entire file? Or can I pack script in a text field?

    Thanks.

    #22855
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Hi,

    you can probably use set attribute > innerHTML to replace contents of some HTML element with entirely new SVG code.

    And yes, you can add script tags with contents of any length.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

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

You must be logged in to reply to this topic.