This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="materialize/dist/css/materialize.css"></require> | |
<require from="./named-slots"></require> | |
<!-- The following require is required as a workaround for last version of materializecss. --> | |
<div> | |
<p> | |
<md-checkbox md-checked.bind="checked">A default checkbox</md-checkbox> with value: ${checked | stringify} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- The following require is required as a workaround for last version of materializecss. --> | |
<require from="materialize/dist/css/materialize.css"></require> | |
<div> | |
<p> | |
<md-checkbox md-checked.bind="checked">A default checkbox</md-checkbox> with value: ${checked | stringify} | |
</p> | |
<p> | |
<md-checkbox md-checked="false" md-disabled="true">A disabled checkbox</md-checkbox> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- The following require is required as a workaround for last version of materializecss. --> | |
<require from="materialize/dist/css/materialize.css"></require> | |
<div> | |
<p> | |
<md-checkbox md-checked.bind="checked">A default checkbox</md-checkbox> with value: ${checked | stringify} | |
</p> | |
<p> | |
<md-checkbox md-checked="false" md-disabled="true">A disabled checkbox</md-checkbox> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- The following require is required as a workaround for last version of materializecss. --> | |
<require from="materialize/dist/css/materialize.css"></require> | |
<div> | |
<md-input md-label="put some text here" md-value.bind="textValue" md-disabled.bind="disabledValue"></md-input><br /> | |
You entered: ${textValue}<br /> | |
<button md-button="flat: true;" md-waves class="accent-text" click.delegate="setText()">set text to something</button> | |
<button md-button="flat: true;" md-waves class="accent-text" click.delegate="setDisabled()">Toggle Input Disabling</button> | |
</div> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- The following require is required as a workaround for last version of materializecss. --> | |
<require from="materialize/dist/css/materialize.css"></require> | |
<div> | |
<p><a md-button click.trigger="showDefaultToast()">default toast</a></p> | |
<p style="margin-top: 5px;"><a md-button click.trigger="showToastWithPromise()">toast with callback</a></p> | |
<p style="margin-top: 5px;"><a md-button click.trigger="showStyledToast()">toast with style</a></p> | |
</div> | |
<!-- i18n support. --> |