Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #101261
    AURAGARD
    Member

    Sorry, I’m new to SMART, so I have a general question. The source code is placed to different pathes. There are source-files in folder “components”, “modules” and “source”. I can’t figure out what the difference is and to which folder I have to point my references ? I would be thankfull for an explanation!
     

    #101262
    admin
    Keymaster

    Hi,
    The “modules” folder contains the javascript files used in most of the Javascript examples. Each module imports one or more javascript files from the “source” folder. For example, the modules/smart.button imports the smart.element.js and smart.button.js from the “source” folder. You can see that in our Docs we refer to the “modules” – https://www.htmlelements.com/docs/button/.
    The “components” folder contains the web components with shadow dom and the css styles imported in them. You may read more: https://www.htmlelements.com/docs/shadow-dom/. We use these in all examples about Shadow DOM, which are available in the demos section.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101267
    admin
    Keymaster

    Hi,
    I also forgot to mention this https://www.htmlelements.com/docs/download-and-installation/.
    Hope this helps.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.