Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

use a module instead of html_ namespacing in julia wrapper #162

@shashi

Description

@shashi

it would be nice to have

module HTML
function h1()... end
function div() ... end
...
end

So that we can use

HTML.h1 instead of html_h1

and potentially users can import the components they want in the beginning so as to not have to qualify it later.

import HTML: h1, div

Can still be done with backwards compatibility by simply defining

const html_div = HTML.div

or deprecating:

Base.@deprecate_binding html_div HTML.div

which will allow removing it in a later release after fair warning.

This is not a deal breaker, so feel free to not do it.

I'm very happy to see a Dashboard library for julia!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions