Skip to content

Compare: Adapting HTML CSS JS project

New page
Showing with 438 additions and 33 deletions.
  1. +1 −1 Adapting-HTML-CSS-JS-project.md
  2. +23 −0 Application-structure.md
  3. +1 −0 FDT.md
  4. +1 −0 Flex-vs-FlexJS-application-structure.md
  5. +1 −0 Getting-Started.md
  6. +86 −0 Getting-started-mxml.md
  7. +6 −0 Installation.md
  8. +16 −25 MDL-Badges.md
  9. +50 −0 MDL-Buttons.md
  10. +72 −0 MDL-Cards.md
  11. +68 −0 MDL-Chips.md
  12. +58 −0 MDL-Dialogs.md
  13. +19 −0 MDL-Tooltips.md
  14. +29 −0 Moonshine-IDE.md
  15. +7 −7 _Sidebar.md
2 changes: 1 addition & 1 deletion Adapting-HTML-CSS-JS-project.md
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ All CSS styling will go within the `<fx:Style>` section, and all code will go wi
xmlns:js="library://ns.apache.org/flexjs/basic"
typeNames="TabContainer">

The reason I’m using `<typeNames>` rather than '<className>' is because '<className>' is added to the list of '<typeNames>' defined in the component. This allows me to set specific '<classNames>' to instances of the component and add class-based styling to instances while preserving the global styling.
The reason I’m using `<typeNames>` rather than `<className>` is because `<className>` is added to the list of `<typeNames>` defined in the component. This allows me to set specific `<classNames>` to instances of the component and add class-based styling to instances while preserving the global styling.

# Step 4: Adding Code
I stripped out the JavaScript code which is not component-specific and the remaining original code looks like this: