mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Drop unused TextAreaComponent
This commit is contained in:
parent
e35fbea415
commit
d69e45f7bf
3 changed files with 0 additions and 19 deletions
|
@ -10,7 +10,6 @@ import { ThemeStore } from 'Stores/Theme';
|
|||
|
||||
import { InputComponent } from 'Component/Input';
|
||||
import { SelectComponent } from 'Component/Select';
|
||||
import { TextAreaComponent } from 'Component/TextArea';
|
||||
import { CheckboxMaterialDesignComponent } from 'Component/MaterialDesign/Checkbox';
|
||||
import { CheckboxComponent } from 'Component/Checkbox';
|
||||
|
||||
|
@ -49,7 +48,6 @@ export class AbstractApp {
|
|||
|
||||
register('Input', InputComponent);
|
||||
register('Select', SelectComponent);
|
||||
register('TextArea', TextAreaComponent);
|
||||
register('Checkbox', CheckboxMaterialDesignComponent, 'CheckboxMaterialDesignComponent');
|
||||
register('CheckboxSimple', CheckboxComponent, 'CheckboxComponent');
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
import { AbstractInput } from 'Component/AbstractInput';
|
||||
|
||||
export class TextAreaComponent extends AbstractInput {
|
||||
/**
|
||||
* @param {Object} params
|
||||
*/
|
||||
constructor(params) {
|
||||
super(params);
|
||||
|
||||
this.rows = params.rows || 5;
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
<textarea rows="5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||||
data-bind="value: value, enable: enable, attr: { 'placeholder': placeholder, 'rows': rows }, css: className"></textarea>
|
||||
<!-- ko if: trigger -->
|
||||
<span data-bind="saveTrigger: trigger"></span>
|
||||
<!-- /ko -->
|
Loading…
Reference in a new issue