Announcement

Collapse
No announcement yet.

[CLOSED] use of Bridge.HTML5 namespace in Deck.NET

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CLOSED] use of Bridge.HTML5 namespace in Deck.NET

    I was putting together a question on another topic when I tried to build an example in Deck. This example runs in VS, but Deck complains about the use of the HTML5 namespace due to a missing assembly reference. Is this expected behavior in Deck? I think it may be beneficial to include a reference to this assembly for debugging/testing purposes.

    https://deck.net/ccdc8f04e28cc826c7a47cdc845cfcea

    Thanks,

  • #2
    Looks like there is a small logic problem in how Deck assigns the .cs templates. We are investigating and it should be an easy fix.

    Thanks for reporting.

    Currently, by default, Deck is using the Bridge.Html5 assembly. We'll likely change to use Retyped.dom as the default at some point soon(ish).

    https://deck.net/334a146c6935f495dc88ec7d9c8d0d83

    public class Program
    {
        public static void Main()
        {        
            var button = new HTMLButtonElement 
            {
                InnerHTML = "Button"
            };
            Document.Body.AppendChild(button);
        }
    }

    Comment


    • #3
      Hello!

      We've just applied a fix to avoid deck from assuming Retyped when it shouldn't, your deck now just works from dev.deck.net: https://dev.deck.net/ccdc8f04e28cc826c7a47cdc845cfcea

      Comment

      Working...
      X