Package com.google.gwt.dom.builder.shared

Examples of com.google.gwt.dom.builder.shared.HtmlDivBuilder.style()


   public void divWithCamelCaseStyle() throws Exception {
      // Arrange
      HtmlDivBuilder divBuilder = HtmlBuilderFactory.get().createDivBuilder();

      // Act
      divBuilder.style().trustedProperty("propertyName", "my value");

      // assert
      assertThat(divBuilder.asSafeHtml().asString()).isEqualTo(
               "<div style=\"property-name:my value;\"></div>");
   }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.